From f537d904ac5e3d6ee705d0b1971a7930be789a77 Mon Sep 17 00:00:00 2001 From: Ewan Crawford Date: Wed, 21 Feb 2024 10:00:18 +0000 Subject: [PATCH] cl_mutable_dispatch_asserts_khr definitions Created from https://github.com/KhronosGroup/OpenCL-Docs/pull/992 by running the `generate_headers` build target and taking only the related changes to `cl_ext.h` --- CL/cl_ext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CL/cl_ext.h b/CL/cl_ext.h index 7eddb47b..d12cf0d5 100644 --- a/CL/cl_ext.h +++ b/CL/cl_ext.h @@ -624,6 +624,7 @@ typedef struct _cl_mutable_base_config_khr { cl_uint num_mutable_dispatch; const cl_mutable_dispatch_config_khr* mutable_dispatch_list; } cl_mutable_base_config_khr; +typedef cl_bitfield cl_mutable_dispatch_asserts_khr; /* cl_command_buffer_flags_khr - bitfield */ #define CL_COMMAND_BUFFER_MUTABLE_KHR (1 << 1) @@ -659,6 +660,15 @@ typedef struct _cl_mutable_base_config_khr { #define CL_STRUCTURE_TYPE_MUTABLE_BASE_CONFIG_KHR 0 #define CL_STRUCTURE_TYPE_MUTABLE_DISPATCH_CONFIG_KHR 1 +/* cl_command_buffer_properties_khr */ +#define CL_COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS_KHR 0x12B7 + +/* cl_ndrange_kernel_command_properties_khr */ +#define CL_MUTABLE_DISPATCH_ASSERTS_KHR 0x12B8 + +/* cl_mutable_dispatch_asserts_khr - bitfield */ +#define CL_MUTABLE_DISPATCH_ASSERT_NO_ADDITIONAL_WORK_GROUPS_KHR (1 << 0) + typedef cl_int CL_API_CALL clUpdateMutableCommandsKHR_t(