GBE: Enable some implemented Opencl 1.2 functions in icd table.
authorZhigang Gong <zhigang.gong@intel.com>
Mon, 9 Jun 2014 10:37:46 +0000 (18:37 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 13 Jun 2014 09:20:25 +0000 (17:20 +0800)
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
src/cl_khr_icd.c

index cb5f5cd..f55873f 100644 (file)
@@ -148,20 +148,20 @@ struct _cl_icd_dispatch const cl_khr_icd_dispatch = {
   CL_1_2_NOTYET(clReleaseDeviceEXT),
 #ifdef CL_VERSION_1_2
   (void *) NULL,
-  CL_1_2_NOTYET(clCreateSubDevices),
-  CL_1_2_NOTYET(clRetainDevice),
-  CL_1_2_NOTYET(clReleaseDevice),
-  CL_1_2_NOTYET(clCreateImage),
-  CL_1_2_NOTYET(clCreateProgramWithBuiltInKernels),
-  CL_1_2_NOTYET(clCompileProgram),
-  CL_1_2_NOTYET(clLinkProgram),
+  clCreateSubDevices,
+  clRetainDevice,
+  clReleaseDevice,
+  clCreateImage,
+  clCreateProgramWithBuiltInKernels,
+  clCompileProgram,
+  clLinkProgram,
   CL_1_2_NOTYET(clUnloadPlatformCompiler),
-  CL_1_2_NOTYET(clGetKernelArgInfo),
-  CL_1_2_NOTYET(clEnqueueFillBuffer),
+  clGetKernelArgInfo,
+  clEnqueueFillBuffer,
   CL_1_2_NOTYET(clEnqueueFillImage),
   CL_1_2_NOTYET(clEnqueueMigrateMemObjects),
-  CL_1_2_NOTYET(clEnqueueMarkerWithWaitList),
-  CL_1_2_NOTYET(clEnqueueBarrierWithWaitList),
+  clEnqueueMarkerWithWaitList,
+  clEnqueueBarrierWithWaitList,
   CL_1_2_NOTYET(clGetExtensionFunctionAddressForPlatform),
   CL_GL_INTEROP(clCreateFromGLTexture),
   (void *) NULL,