summaryrefslogtreecommitdiff
path: root/utests
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@intel.com>2012-12-26 16:38:41 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-03-29 19:35:17 +0800
commit5fa7a3db9189f19ed5af4f00f83fa61a62a3a17e (patch)
treede04770f0e5ca7565b77ba62bd1411ab969de88e /utests
parent4d5f9ccae70a540f040bdb4068954f57a3b8ea30 (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 'utests')
-rw-r--r--utests/utest_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/utest_error.c b/utests/utest_error.c
index 449147b6..4582a337 100644
--- a/utests/utest_error.c
+++ b/utests/utest_error.c
@@ -25,7 +25,7 @@ const char *err_msg[] = {
[-CL_DEVICE_NOT_FOUND] = "CL_DEVICE_NOT_FOUND",
[-CL_DEVICE_NOT_AVAILABLE] = "CL_DEVICE_NOT_AVAILABLE",
[-CL_COMPILER_NOT_AVAILABLE] = "CL_COMPILER_NOT_AVAILABLE",
- [-CL_MEM_ALLOCATION_FAILURE] = "CL_MEM_ALLOCATION_FAILURE",
+ [-CL_MEM_OBJECT_ALLOCATION_FAILURE] = "CL_MEM_OBJECT_ALLOCATION_FAILURE",
[-CL_OUT_OF_RESOURCES] = "CL_OUT_OF_RESOURCES",
[-CL_OUT_OF_HOST_MEMORY] = "CL_OUT_OF_HOST_MEMORY",
[-CL_PROFILING_INFO_NOT_AVAILABLE] = "CL_PROFILING_INFO_NOT_AVAILABLE",
@@ -44,7 +44,7 @@ const char *err_msg[] = {
[-CL_INVALID_QUEUE_PROPERTIES] = "CL_INVALID_QUEUE_PROPERTIES",
[-CL_INVALID_COMMAND_QUEUE] = "CL_INVALID_COMMAND_QUEUE",
[-CL_INVALID_HOST_PTR] = "CL_INVALID_HOST_PTR",
- [-CL_INVALID_MEM] = "CL_INVALID_MEM",
+ [-CL_INVALID_MEM_OBJECT] = "CL_INVALID_MEM_OBJECT",
[-CL_INVALID_IMAGE_FORMAT_DESCRIPTOR] = "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR",
[-CL_INVALID_IMAGE_SIZE] = "CL_INVALID_IMAGE_SIZE",
[-CL_INVALID_SAMPLER] = "CL_INVALID_SAMPLER",