Specs mandate CL_VERSION_X_Y without underscores.

Signed-off-by: Jan Vesely <jano.ves...@gmail.com>
---

I'm not sure if you want to keep the old underscored versions. I left them as 
they were.

 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 f840a82..f5c65df 100644
--- a/backend/src/libocl/tmpl/ocl_defines.tmpl.h
+++ b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
@@ -22,6 +22,9 @@
 #define __CL_VERSION_1_0__ 100
 #define __CL_VERSION_1_1__ 110
 #define __CL_VERSION_1_2__ 120
+#define CL_VERSION_1_0 100
+#define CL_VERSION_1_1 110
+#define CL_VERSION_1_2 120
 #define __ENDIAN_LITTLE__ 1
 #define __IMAGE_SUPPORT__ 1
 #define __kernel_exec(X, TYPE) __kernel 
__attribute__((work_group_size_hint(X,1,1))) \
-- 
2.7.4

_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to