[Beignet] [PATCH] Backend: Add extensions for compiler

Xiuli Pan xiuli.pan at intel.com
Tue Mar 1 05:33:10 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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/backend/src/libocl/tmpl/ocl_defines.tmpl.h b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
index 8d41449..ae30e08 100644
--- a/backend/src/libocl/tmpl/ocl_defines.tmpl.h
+++ b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
@@ -33,6 +33,9 @@
 #define cl_khr_local_int32_base_atomics
 #define cl_khr_local_int32_extended_atomics
 #define cl_khr_byte_addressable_store
+#define cl_khr_3d_image_writes
+#define cl_khr_image2d_from_buffer
+#define cl_khr_depth_images
 #define cl_khr_icd
 #define cl_khr_gl_sharing
 #define cl_khr_spir
-- 
2.5.0



More information about the Beignet mailing list