Skip to content

Commit def9281

Browse files
authored
Remove redundant error condition in cl_khr_external_semaphore (#903)
cl_khr_semaphore has the following condition: * {CL_INVALID_COMMAND_QUEUE} if the device associated with _command_queue_ is not same as one of the devices specified by {CL_DEVICE_HANDLE_LIST_KHR} at the time of creating one or more of _sema_objects_ cl_khr_external_semaphore has the following condition: * {CL_INVALID_DEVICE} if one or more devices identified by properties {CL_DEVICE_HANDLE_LIST_KHR} can not import the requested external semaphore handle type. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
1 parent 5444dc9 commit def9281

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ext/cl_khr_external_semaphore.asciidoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,6 @@ Add to the list of supported _param_names_ by {clGetSemaphoreInfoKHR}:
235235
semaphore does not support any handle types for exporting.
236236
|====
237237

238-
Add to the list of error conditions for {clEnqueueWaitSemaphoresKHR} and {clEnqueueSignalSemaphoresKHR}:
239-
240-
* {CL_INVALID_COMMAND_QUEUE} if one or more of _sema_objects_ can not be shared with the device associated with _command_queue_.
241-
242238
=== Exporting semaphore external handles
243239

244240
To export an external handle from a semaphore, call the function

0 commit comments

Comments
 (0)