You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/cl_khr_semaphore.asciidoc
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -316,8 +316,7 @@ Otherwise, it returns one of the following errors:
316
316
* {CL_INVALID_COMMAND_QUEUE}
317
317
** if _command_queue_ is not a valid command-queue, or
318
318
** 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_, or
319
-
** if one or more of _sema_objects_ belong to a context that does not contain a device associated with_command_queue_, or
320
-
** if one or more of _sema_objects_ can not be shared with the device associated with _command_queue_.
319
+
** if one or more of _sema_objects_ belong to a context that does not contain a device associated with_command_queue_.
321
320
* {CL_INVALID_VALUE} if _num_sema_objects_ is 0.
322
321
* {CL_INVALID_SEMAPHORE_KHR} if any of the semaphore objects specified by _sema_objects_ is not valid.
323
322
* {CL_INVALID_CONTEXT} if the context associated with _command_queue_ and any of the semaphore objects in _sema_objects_ are not the same or if the context associated with _command_queue_ and that associated with events in _event_wait_list_ are not the same.
@@ -368,8 +367,7 @@ Otherwise, it returns one of the following errors:
368
367
* {CL_INVALID_COMMAND_QUEUE}
369
368
** if _command_queue_ is not a valid command-queue, or
370
369
** if device associated with _command_queue_ is not same as one of devices specified by {CL_DEVICE_HANDLE_LIST_KHR} at the time of creating one or more of _sema_objects_, or
371
-
** if one or more of _sema_objects_ belong to a context that does not contain a device associated _command_queue_, or
372
-
** if one or more of _sema_objects_ can not be shared with device associated with _command_queue_.
370
+
** if one or more of _sema_objects_ belong to a context that does not contain a device associated _command_queue_.
373
371
* {CL_INVALID_VALUE} if _num_sema_objects_ is 0
374
372
* {CL_INVALID_SEMAPHORE_KHR} if any of the semaphore objects specified by _sema_objects_ is not valid.
375
373
* {CL_INVALID_CONTEXT} if the context associated with _command_queue_ and any of the semaphore objects in _sema_objects_ are not the same or if the context associated with _command_queue_ and that associated with events in _event_wait_list_ are not the same.
0 commit comments