summaryrefslogtreecommitdiff
path: root/src/cl_extensions.h
diff options
context:
space:
mode:
authorPan Xiuli <xiuli.pan@intel.com>2017-06-15 16:44:49 +0800
committerYang Rong <rong.r.yang@intel.com>2017-06-16 16:34:32 +0800
commit521ac708db7f6b679aa32c7fced3ee953ae61867 (patch)
treefecf695edafad90fdd762dac75d79c05e8bfa2e3 /src/cl_extensions.h
parent82bc42144542322e4db59c64b2382591e7f7e943 (diff)
Runtime: Add new API enums for cl_intel_required_subgroup_size extension
Add CL_DEVICE_SUB_GROUP_SIZES_INTEL for clGetDeviceInfo, add CL_KERNEL_SPILL_MEM_SIZE_INTEL for clGetKernelWorkGroupInfo and add CL_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL for clGetKernelSubGroupInfo. We only have this extension for LLVM 40+ for frontend support. V2: Add opencl-c define Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'src/cl_extensions.h')
-rw-r--r--src/cl_extensions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_extensions.h b/src/cl_extensions.h
index af0855e4..bb61c0bc 100644
--- a/src/cl_extensions.h
+++ b/src/cl_extensions.h
@@ -30,6 +30,7 @@
DECL_EXT(intel_motion_estimation) \
DECL_EXT(intel_subgroups) \
DECL_EXT(intel_subgroups_short) \
+ DECL_EXT(intel_required_subgroup_size) \
DECL_EXT(intel_media_block_io) \
DECL_EXT(intel_planar_yuv)