summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Ashbaugh <ben.ashbaugh@intel.com>2020-07-14 16:52:15 -0700
committerAlastair Murray <alastairmurray42@gmail.com>2020-07-20 16:48:51 +0100
commitd082d4206597f56d35f3f0a5447343ed6879ae75 (patch)
treedc9b24156679ded15188caada27bd520cc145552
parentd7283be010f26e5b338d38f38ff136db120605e1 (diff)
downloadOpenCL-Headers-d082d4206597f56d35f3f0a5447343ed6879ae75.tar.gz
OpenCL-Headers-d082d4206597f56d35f3f0a5447343ed6879ae75.tar.bz2
OpenCL-Headers-d082d4206597f56d35f3f0a5447343ed6879ae75.zip
switch device enqueue boolean query to capabilities query
-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