Skip to content

Commit

Permalink
Fix typos in description of clReImportSemaphoreSyncFdKHR (#1208)
Browse files Browse the repository at this point in the history
Also add to list of new commands in extension appendix.


Change-Id: I80b1d25368c2cefb0967120bdc429a8187c518c7

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
  • Loading branch information
kpet committed Jul 10, 2024
1 parent 92c3de3 commit 51c8076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/cl_khr_external_semaphore_sync_fd.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ external semaphore using the APIs introduced by
=== New Commands

* {clGetSemaphoreHandleForTypeKHR}
* {clReImportSemaphoreSyncFdKHR}

=== New Types

Expand Down
4 changes: 2 additions & 2 deletions api/opencl_runtime_layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13032,7 +13032,7 @@ a successful import.
ifdef::cl_khr_external_semaphore_sync_fd[]
[open,refpage='clReImportSemaphoreSyncFdKHR',desc='Re-import sync fd handle into an existing semaphore',type='protos']
--
To re-imported a handle of type {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR} into an
To re-import a handle of type {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR} into an
existing semaphore, call the function:

include::{generated}/api/protos/clReImportSemaphoreSyncFdKHR.txt[]
Expand All @@ -13051,7 +13051,7 @@ of type {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR}.

// refError

{clGetSemaphoreHandleForTypeKHR} returns {CL_SUCCESS} if the semaphore
{clReImportSemaphoreSyncFdKHR} returns {CL_SUCCESS} if the semaphore
handle is re-imported successfully.
Otherwise, it returns one of the following errors:

Expand Down

0 comments on commit 51c8076

Please sign in to comment.