Skip to content

Commit

Permalink
cl_mutable_dispatch_asserts_khr definitions (KhronosGroup#243)
Browse files Browse the repository at this point in the history
Created from KhronosGroup/OpenCL-Docs#992 by
running the `generate_headers` build target and taking only
the related changes to `cl_ext.h`
  • Loading branch information
EwanC authored Feb 21, 2024
1 parent 2368105 commit f8f40ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CL/cl_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit f8f40ff

Please sign in to comment.