Skip to content

Commit 00c7969

Browse files
author
Ewan Crawford
authored
Fixup cl_khr_command_buffer after spec unification (#1089)
After PR #950 merged the cl_khr_command_buffer spec needs updated in a couple of places: * Error around _num_queues_ to `clCreateCommandBufferKHR` should be in terms of `cl_khr_command_buffer_multi_device`. * "New Structure" heading can be deleted as these are listed under "New Types" * Typos in rendering of some types
1 parent bb480d8 commit 00c7969

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

api/cl_khr_command_buffer.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,6 @@ features:
205205
** {clCommandSVMMemcpyKHR}
206206
** {clCommandSVMMemFillKHR}
207207

208-
=== New Structures
209-
210-
* {cl_command_buffer_khr_TYPE}
211-
* {cl_mutable_command_khr_TYPE}
212-
213208
=== New Types
214209

215210
* {cl_device_command_buffer_capabilities_khr_TYPE}

api/opencl_runtime_layer.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14145,7 +14145,10 @@ returned in _errcode_ret_:
1414514145
specified by {CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR}.
1414614146
* {CL_INVALID_CONTEXT} if all the command-queues in _queues_ do not have
1414714147
the same OpenCL context.
14148-
* {CL_INVALID_VALUE} if _num_queues_ is zero.
14148+
* {CL_INVALID_VALUE} if the `<<cl_khr_command_buffer_multi_device>>`
14149+
extension is supported and _num_queues_ is zero, or if the
14150+
`<<cl_khr_command_buffer_multi_device>>` extension is not supported
14151+
and _num_queues_ is not one.
1414914152
* {CL_INVALID_VALUE} if _queues_ is `NULL`.
1415014153
* {CL_INVALID_VALUE} if values specified in _properties_ are not valid, or
1415114154
if the same property name is specified more than once.

0 commit comments

Comments
 (0)