Skip to content

Commit 51c8076

Browse files
authored
Fix typos in description of clReImportSemaphoreSyncFdKHR (#1208)
Also add to list of new commands in extension appendix. Change-Id: I80b1d25368c2cefb0967120bdc429a8187c518c7 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
1 parent 92c3de3 commit 51c8076

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

api/cl_khr_external_semaphore_sync_fd.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ external semaphore using the APIs introduced by
3838
=== New Commands
3939

4040
* {clGetSemaphoreHandleForTypeKHR}
41+
* {clReImportSemaphoreSyncFdKHR}
4142

4243
=== New Types
4344

api/opencl_runtime_layer.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13032,7 +13032,7 @@ a successful import.
1303213032
ifdef::cl_khr_external_semaphore_sync_fd[]
1303313033
[open,refpage='clReImportSemaphoreSyncFdKHR',desc='Re-import sync fd handle into an existing semaphore',type='protos']
1303413034
--
13035-
To re-imported a handle of type {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR} into an
13035+
To re-import a handle of type {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR} into an
1303613036
existing semaphore, call the function:
1303713037

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

1305213052
// refError
1305313053

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

0 commit comments

Comments
 (0)