diff options
author | Ben Ashbaugh <ben.ashbaugh@intel.com> | 2020-07-14 16:52:15 -0700 |
---|---|---|
committer | Alastair Murray <alastairmurray42@gmail.com> | 2020-07-20 16:48:51 +0100 |
commit | d082d4206597f56d35f3f0a5447343ed6879ae75 (patch) | |
tree | dc9b24156679ded15188caada27bd520cc145552 | |
parent | d7283be010f26e5b338d38f38ff136db120605e1 (diff) | |
download | OpenCL-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.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |