Skip to content

Commit

Permalink
Add enum for command-buffer context query (#226)
Browse files Browse the repository at this point in the history
Define `0x1299` as `CL_COMMAND_BUFFER_CONTEXT_KHR` to reflect merged
spec PR KhronosGroup/OpenCL-Docs#899

See also original issue KhronosGroup/OpenCL-Docs#898
  • Loading branch information
EwanC authored Apr 9, 2023
1 parent 8c4f011 commit ca7e258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CL/cl_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ typedef struct _cl_mutable_command_khr* cl_mutable_command_khr;
#define CL_COMMAND_BUFFER_REFERENCE_COUNT_KHR 0x1296
#define CL_COMMAND_BUFFER_STATE_KHR 0x1297
#define CL_COMMAND_BUFFER_PROPERTIES_ARRAY_KHR 0x1298
#define CL_COMMAND_BUFFER_CONTEXT_KHR 0x1299

/* cl_command_buffer_state_khr */
#define CL_COMMAND_BUFFER_STATE_RECORDING_KHR 0
Expand Down

0 comments on commit ca7e258

Please sign in to comment.