summaryrefslogtreecommitdiffstats
path: root/src/opencl/qclext_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opencl/qclext_p.h')
-rw-r--r--src/opencl/qclext_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opencl/qclext_p.h b/src/opencl/qclext_p.h
index 68a17b7..a50df50 100644
--- a/src/opencl/qclext_p.h
+++ b/src/opencl/qclext_p.h
@@ -90,6 +90,9 @@
#ifndef CL_MEM_OFFSET
#define CL_MEM_OFFSET 0x1108
#endif
+#ifndef CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE
+#define CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 0x11B3
+#endif
// OpenCL-OpenGL sharing.
#ifndef CL_INVALID_CL_SHAREGROUP_REFERENCE_KHR