Skip to content

Commit

Permalink
Return CL_INVALID_VALUE from clReImportSemaphoreSyncFdKHR when reimpo…
Browse files Browse the repository at this point in the history
…rt properties are not NULL

Not supported for now.


Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I58659fc9cd7fd3ae5178826285fd84d6932b29d8
  • Loading branch information
kpet committed Aug 6, 2024
1 parent 6be4f45 commit 8c76cc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/cl_khr_external_semaphore_sync_fd.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ external semaphore using the APIs introduced by
** Added re-import function call to {cl_khr_external_semaphore_sync_fd_EXT}
* Revision 1.0.0, 2024-03-15
** First non-provisional version.
* Revision 1.1.0, 2024-08-06
** Return CL_INVALID_VALUE from clReImportSemaphoreSyncFdKHR when reimport properties are NULL.
1 change: 1 addition & 0 deletions api/opencl_runtime_layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13094,6 +13094,7 @@ Otherwise, it returns one of the following errors:
* {CL_INVALID_SEMAPHORE_KHR} if a {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR} handle
was not imported when _sema_object_ was created.
* {CL_INVALID_VALUE} if _fd_ is invalid.
* {CL_INVALID_VALUE} if _reimport_props_ is not `NULL`.
* {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources
required by the OpenCL implementation on the host.
* {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources
Expand Down

0 comments on commit 8c76cc7

Please sign in to comment.