Signed-off-by: Yang Rong <[email protected]>
---
 backend/src/ocl_stdlib.tmpl.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/backend/src/ocl_stdlib.tmpl.h b/backend/src/ocl_stdlib.tmpl.h
index 9fe38b6..9984b6e 100644
--- a/backend/src/ocl_stdlib.tmpl.h
+++ b/backend/src/ocl_stdlib.tmpl.h
@@ -114,6 +114,14 @@ typedef size_t __event_t;
 #define __kernel_exec(X, TYPE) __kernel 
__attribute__((work_group_size_hint(X,1,1))) \
                                         __attribute__((vec_type_hint(TYPE)))
 #define kernel_exec(X, TYPE) __kernel_exec(X, TYPE)
+#define cl_khr_global_int32_base_atomics
+#define cl_khr_global_int32_extended_atomics
+#define cl_khr_local_int32_base_atomics
+#define cl_khr_local_int32_extended_atomics
+#define cl_khr_byte_addressable_store
+#define cl_khr_icd
+#define cl_khr_gl_sharing
+
 /////////////////////////////////////////////////////////////////////////////
 // OpenCL floating-point macros and pragmas
 /////////////////////////////////////////////////////////////////////////////
-- 
1.8.1.2

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to