[Beignet] [[OpenCL-1.2]] GBE: Enable some implemented Opencl 1.2 functions in icd table.

Zhigang Gong zhigang.gong at intel.com
Mon Jun 9 18:01:14 PDT 2014


Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
 src/cl_khr_icd.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/cl_khr_icd.c b/src/cl_khr_icd.c
index d601134..3a7dec2 100644
--- a/src/cl_khr_icd.c
+++ b/src/cl_khr_icd.c
@@ -142,19 +142,19 @@ struct _cl_icd_dispatch const cl_khr_icd_dispatch = {
 #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),
+  clRetainDevice,
+  clReleaseDevice,
+  clCreateImage,
+  clCreateProgramWithBuiltInKernels,
   CL_1_2_NOTYET(clCompileProgram),
   CL_1_2_NOTYET(clLinkProgram),
   CL_1_2_NOTYET(clUnloadPlatformCompiler),
   CL_1_2_NOTYET(clGetKernelArgInfo),
-  CL_1_2_NOTYET(clEnqueueFillBuffer),
+  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,
-- 
1.8.3.2



More information about the Beignet mailing list