diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2012-12-26 16:38:41 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-03-29 19:35:17 +0800 |
commit | 5fa7a3db9189f19ed5af4f00f83fa61a62a3a17e (patch) | |
tree | de04770f0e5ca7565b77ba62bd1411ab969de88e /include/CL/opencl.h | |
parent | 4d5f9ccae70a540f040bdb4068954f57a3b8ea30 (diff) |
update headers to OpenCL 1.2 standards
The header files are downloaded from this link:
http://www.khronos.org/registry/cl/
And there are several other fixes due to this header update:
- change cl_mem_type to cl_mem_object_type
- change CL_INVALID_MEM to CL_INVALID_MEM_OBJECT
- change CL_INVALID_TEXTURE to CL_INVALID_IMAGE_DESCRIPTOR
- change CL_MEM_ALLOCATION_FAILURE to CL_MEM_OBJECT_ALLOCATION_FAILURE
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'include/CL/opencl.h')
-rw-r--r-- | include/CL/opencl.h | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/include/CL/opencl.h b/include/CL/opencl.h index 938469cf..3f005247 100644 --- a/include/CL/opencl.h +++ b/include/CL/opencl.h @@ -1,21 +1,25 @@ -/* - * Copyright © 2012 Intel Corporation +/******************************************************************************* + * Copyright (c) 2008-2012 The Khronos Group Inc. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and/or associated documentation files (the + * "Materials"), to deal in the Materials without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Materials, and to + * permit persons to whom the Materials are furnished to do so, subject to + * the following conditions: * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Materials. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see <http://www.gnu.org/licenses/>. - * - * Author: Benjamin Segovia <benjamin.segovia@intel.com> - */ + * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. + ******************************************************************************/ /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ |