File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ This extension adds the ability to record and replay buffers of OpenCL commands.
2020| *Date* | *Version* | *Description*
2121| 2021-11-10 | 0.9.0 | First assigned version (provisional).
2222| 2022-08-24 | 0.9.1 | Specify an error if a command-buffer is finalized multiple times (provisional).
23+ | 2023-03-31 | 0.9.2 | Introduce context query {CL_COMMAND_BUFFER_CONTEXT_KHR} (provisional).
2324|====
2425
2526==== Dependencies
@@ -422,6 +423,7 @@ CL_COMMAND_BUFFER_NUM_QUEUES_KHR 0x1295
422423CL_COMMAND_BUFFER_REFERENCE_COUNT_KHR 0x1296
423424CL_COMMAND_BUFFER_STATE_KHR 0x1297
424425CL_COMMAND_BUFFER_PROPERTIES_ARRAY_KHR 0x1298
426+ CL_COMMAND_BUFFER_CONTEXT_KHR 0x1299
425427
426428// cl_event command-buffer enqueue command type
427429CL_COMMAND_COMMAND_BUFFER_KHR 0x12A8
@@ -1590,6 +1592,10 @@ _param_value_ by {clGetCommandBufferInfoKHR} is described in the table below.
15901592 or the implementation may return a property value of 0 (where 0 is used to
15911593 terminate the properties list).
15921594
1595+ | {CL_COMMAND_BUFFER_CONTEXT_KHR}
1596+ | {cl_context_TYPE}
1597+ | Return the context associated with _command_buffer_.
1598+
15931599|====
15941600
15951601{clGetCommandBufferInfoKHR} returns {CL_SUCCESS} if the function is executed
Original file line number Diff line number Diff line change @@ -1728,7 +1728,7 @@ server's OpenCL/api-docs repository.
17281728 <enum value =" 0x1296" name =" CL_COMMAND_BUFFER_REFERENCE_COUNT_KHR" />
17291729 <enum value =" 0x1297" name =" CL_COMMAND_BUFFER_STATE_KHR" />
17301730 <enum value =" 0x1298" name =" CL_COMMAND_BUFFER_PROPERTIES_ARRAY_KHR" />
1731- < unused start =" 0x1299" comment = " Reserved for MR199 " />
1731+ < enum value =" 0x1299" name = " CL_COMMAND_BUFFER_CONTEXT_KHR " />
17321732 <unused start =" 0x129A" end =" 0x129F" comment =" Available to use" />
17331733 <enum value =" 0x12A0" name =" CL_MUTABLE_COMMAND_COMMAND_QUEUE_KHR" />
17341734 <enum value =" 0x12A1" name =" CL_MUTABLE_COMMAND_COMMAND_BUFFER_KHR" />
@@ -7038,7 +7038,7 @@ server's OpenCL/api-docs repository.
70387038 <command name =" clSetContentSizeBufferPoCL" />
70397039 </require >
70407040 </extension >
7041- <extension name =" cl_khr_command_buffer" comment =" in sync with version 0.9.0 " supported =" opencl" >
7041+ <extension name =" cl_khr_command_buffer" comment =" in sync with version 0.9.2 " supported =" opencl" >
70427042 <require >
70437043 <type name =" CL/cl.h" />
70447044 </require >
@@ -7080,6 +7080,7 @@ server's OpenCL/api-docs repository.
70807080 <enum name =" CL_COMMAND_BUFFER_REFERENCE_COUNT_KHR" />
70817081 <enum name =" CL_COMMAND_BUFFER_STATE_KHR" />
70827082 <enum name =" CL_COMMAND_BUFFER_PROPERTIES_ARRAY_KHR" />
7083+ <enum name =" CL_COMMAND_BUFFER_CONTEXT_KHR" />
70837084 </require >
70847085 <require comment =" cl_command_buffer_state_khr" >
70857086 <enum name =" CL_COMMAND_BUFFER_STATE_RECORDING_KHR" />
You can’t perform that action at this time.
0 commit comments