From: Luo Xionghu <xionghu....@intel.com> Signed-off-by: Luo Xionghu <xionghu....@intel.com> --- src/cl_khr_icd.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/cl_khr_icd.c b/src/cl_khr_icd.c index f9b91ae..13514c4 100644 --- a/src/cl_khr_icd.c +++ b/src/cl_khr_icd.c @@ -115,7 +115,11 @@ struct _cl_icd_dispatch const cl_khr_icd_dispatch = { clEnqueueMapImage, clEnqueueUnmapMemObject, clEnqueueNDRangeKernel, +#ifdef CL_VERSION_2_0 + (void *) NULL, /* clEnqueueTask deprecated */ +#else clEnqueueTask, +#endif clEnqueueNativeKernel, clEnqueueMarker, clEnqueueWaitForEvents, -- 1.9.1 _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet