Skip to content

Commit b3272cb

Browse files
EwanCalycm
andauthored
cl_khr_command_buffer_mutable_dispatch (#819)
* cl_khr_command_buffer_mutable_dispatch Add extension spec for provisional extension `cl_khr_command_buffer_mutable_dispatch`, which is layered on top of `cl_khr_command_buffer`. This extension allows a user to update kernel execution commands recorded to a command-buffer between kernel enqueues. Added at bottom of `OpenCL_Ext` extension list, rather than next to entry for `cl_khr_command_buffer` to avoid reordering the section numbers of the following extensions. * Apply suggestions from code review Change `_dispatch_` to `_command_` in `clGetMutableCommandInfoKHR` table, and specify global work size will return zero if not set Co-authored-by: Alastair Murray <alastair.murray@codeplay.com> Co-authored-by: Alastair Murray <alastair.murray@codeplay.com>
1 parent abef890 commit b3272cb

5 files changed

Lines changed: 1128 additions & 8 deletions

File tree

OpenCL_Ext.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ include::ext/cl_khr_expect_assume.asciidoc[]
106106
include::ext/cl_khr_subgroup_rotate.asciidoc[]
107107
include::ext/cl_khr_work_group_uniform_arithmetic.asciidoc[]
108108

109+
include::ext/cl_khr_command_buffer_mutable_dispatch.asciidoc[]
110+
109111
// NOTE: To keep meaningful section numbers, new
110112
// extension documents should be added above here!
111113

ext/cl_khr_command_buffer.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ supported property and its value is not specified in properties, its
559559
default value will be used. _properties_ can be `NULL` in which case the
560560
default values for supported command-buffer properties will be used.
561561

562+
[[commandbuffer-properties]]
562563
.*clCreateCommandBufferKHR* properties
563564
[cols=",,",options="header",]
564565
|====
@@ -573,7 +574,7 @@ default values for supported command-buffer properties will be used.
573574
`CL_COMMAND_BUFFER_SIMULTANEOUS_USE_KHR` - Allow multiple instances of the
574575
command-buffer to be submitted to the device for execution. If set, devices
575576
must support `CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR`.
576-
577+
577578
The default value of this property is `0`.
578579
|====
579580

0 commit comments

Comments
 (0)