diff --git a/api/opencl_runtime_layer.asciidoc b/api/opencl_runtime_layer.asciidoc index a1417619..bb5c89b5 100644 --- a/api/opencl_runtime_layer.asciidoc +++ b/api/opencl_runtime_layer.asciidoc @@ -15122,12 +15122,6 @@ include::{generated}/api/version-notes/clEnqueueCommandBufferKHR.asciidoc[] application to wait on this command or query it for profiling information. -[NOTE] -==== -To enqueue a command-buffer it must be in a <> state, -see {clFinalizeCommandBufferKHR}. -==== - // refError {clEnqueueCommandBufferKHR} returns {CL_SUCCESS} if the command-buffer @@ -15135,7 +15129,8 @@ execution was successfully queued, or one of the errors below: * {CL_INVALID_COMMAND_BUFFER_KHR} if _command_buffer_ is not a valid command-buffer. - * {CL_INVALID_OPERATION} if _command_buffer_ has not been finalized. + * {CL_INVALID_OPERATION} if _command_buffer_ is not in the + <> state. * {CL_INVALID_VALUE} if _queues_ is `NULL` and _num_queues_ is > 0, or _queues_ is not `NULL` and _num_queues_ is 0. * {CL_INVALID_VALUE} if _num_queues_ is > 0 and not the same value as