[Beignet] [PATCH] Libocl: Add define for cl_intel_subgroups

Xiuli Pan xiuli.pan at intel.com
Fri Aug 19 09:46:13 UTC 2016


From: Pan Xiuli <xiuli.pan at intel.com>

Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
 backend/src/libocl/tmpl/ocl_defines.tmpl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/src/libocl/tmpl/ocl_defines.tmpl.h b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
index 8fb5d2b..8c7d08f 100644
--- a/backend/src/libocl/tmpl/ocl_defines.tmpl.h
+++ b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
@@ -37,5 +37,6 @@
 #define cl_khr_spir
 #define cl_khr_fp16
 #define cl_khr_3d_image_writes
+#define cl_intel_subgroups
 
 #endif /* end of __OCL_COMMON_DEF_H__ */
-- 
2.7.4



More information about the Beignet mailing list