summaryrefslogtreecommitdiff
path: root/CL/cl.h
diff options
context:
space:
mode:
Diffstat (limited to 'CL/cl.h')
-rw-r--r--CL/cl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/CL/cl.h b/CL/cl.h
index f33f999..18fc322 100644
--- a/CL/cl.h
+++ b/CL/cl.h
@@ -109,6 +109,7 @@ typedef cl_uint cl_kernel_exec_info;
#endif
#ifdef CL_VERSION_3_0
typedef cl_bitfield cl_device_atomic_capabilities;
+typedef cl_bitfield cl_device_device_enqueue_capabilities;
typedef cl_uint cl_khronos_vendor_id;
typedef cl_bitfield cl_mem_properties;
typedef cl_uint cl_version;
@@ -408,7 +409,7 @@ typedef struct _cl_name_version {
#define CL_DEVICE_GENERIC_ADDRESS_SPACE_SUPPORT 0x1069
/* 0x106A to 0x106E - Reserved for upcoming KHR extension */
#define CL_DEVICE_OPENCL_C_FEATURES 0x106F
-#define CL_DEVICE_DEVICE_ENQUEUE_SUPPORT 0x1070
+#define CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES 0x1070
#define CL_DEVICE_PIPE_SUPPORT 0x1071
#endif
@@ -893,6 +894,12 @@ typedef struct _cl_name_version {
#define CL_DEVICE_ATOMIC_SCOPE_ALL_DEVICES (1 << 6)
#endif
+/* cl_device_device_enqueue_capabilities - bitfield */
+#ifdef CL_VERSION_3_0
+#define CL_DEVICE_QUEUE_SUPPORTED (1 << 0)
+#define CL_DEVICE_QUEUE_REPLACEABLE_DEFAULT (1 << 1)
+#endif
+
/* cl_khronos_vendor_id */
#define CL_KHRONOS_VENDOR_ID_CODEPLAY 0x10004