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_external_memory.asciidoc
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,13 +281,12 @@ If _num_mem_objects_ is 0 and _mem_objects_ is `NULL`, the command will triviall
281
281
{clEnqueueAcquireExternalMemObjectsKHR} returns {CL_SUCCESS} if the function is executed successfully.
282
282
Otherwise, it returns one of the following errors:
283
283
284
-
* {CL_INVALID_VALUE} if _num_mem_objects_ is zero and _mem_objects_ is not a `NULL` value or if _num_mem_objects_ is not 0 and _mem_objects_ is `NULL`.
284
+
* {CL_INVALID_VALUE} if _num_mem_objects_ is zero and _mem_objects_ is not a `NULL` value or if _num_mem_objects_ is greater than 0 and _mem_objects_ is `NULL`.
285
285
* {CL_INVALID_MEM_OBJECT} if any of the memory objects in _mem_objects_ is not a valid OpenCL memory object created using an external memory handle.
286
286
* {CL_INVALID_COMMAND_QUEUE}
287
287
** if _command_queue_ is not a valid command-queue, or
288
288
** if device associated with _command_queue_ is not one of the devices specified by {CL_DEVICE_HANDLE_LIST_KHR} at the time of creating one or more of _mem_objects_, or
289
-
** if one or more of _mem_objects_ belong to a context that does not contain a device associated _command_queue_, or
290
-
** if one or more of _mem_objects_ can not be shared with device associated with _command_queue_.
289
+
** if one or more of _mem_objects_ belong to a context that does not contain a device associated with _command_queue_.
291
290
* {CL_INVALID_EVENT_WAIT_LIST}
292
291
** if _event_wait_list_ is `NULL` and _num_events_in_wait_list_ is not 0, or
293
292
** if _event_wait_list_ is not `NULL` and _num_events_in_wait_list_ is 0, or
@@ -332,8 +331,7 @@ Otherwise, it returns one of the following errors:
332
331
* {CL_INVALID_COMMAND_QUEUE}
333
332
** if _command_queue_ is not a valid command-queue, or
334
333
** if device associated with _command_queue_ is not one of the devices specified by {CL_DEVICE_HANDLE_LIST_KHR} at the time of creating one or more of _mem_objects_, or
335
-
** if one or more of _mem_objects_ belong to a cl_context that does not contain device associated _command_queue_, or
336
-
** if one or more of _mem_objects_ can not be shared with device associated with _command_queue_.
334
+
** if one or more of _mem_objects_ belong to a context that does not contain a device associated with _command_queue_.
337
335
* {CL_INVALID_EVENT_WAIT_LIST}
338
336
** if _event_wait_list_ is `NULL` and _num_events_in_wait_list_ is not 0, or
339
337
** if _event_wait_list_ is not `NULL` and _num_events_in_wait_list_ is 0, or
Copy file name to clipboardExpand all lines: ext/cl_khr_semaphore.asciidoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -316,7 +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_.
319
+
** if one or more of _sema_objects_ belong to a context that does not contain a device associated with _command_queue_.
320
320
* {CL_INVALID_VALUE} if _num_sema_objects_ is 0.
321
321
* {CL_INVALID_SEMAPHORE_KHR} if any of the semaphore objects specified by _sema_objects_ is not valid.
322
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.
@@ -366,8 +366,8 @@ Otherwise, it returns one of the following errors:
366
366
367
367
* {CL_INVALID_COMMAND_QUEUE}
368
368
** if _command_queue_ is not a valid command-queue, or
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
370
-
** if one or more of _sema_objects_ belong to a context that does not contain a device associated _command_queue_.
369
+
** 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
370
+
** if one or more of _sema_objects_ belong to a context that does not contain a device associated with _command_queue_.
371
371
* {CL_INVALID_VALUE} if _num_sema_objects_ is 0
372
372
* {CL_INVALID_SEMAPHORE_KHR} if any of the semaphore objects specified by _sema_objects_ is not valid.
373
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