Skip to content

Commit

Permalink
clarify clGetSemaphoreHandleForTypeKHR is part of cl_khr_external_sem…
Browse files Browse the repository at this point in the history
…aphore (#1257)
  • Loading branch information
bashbaug committed Sep 12, 2024
1 parent fbdec74 commit fe6b158
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/cl_khr_external_semaphore.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ The layered extensions {cl_khr_external_semaphore_opaque_fd_EXT},
{cl_khr_external_semaphore_win32_EXT} define specific external semaphores
that may be imported into or exported from OpenCL.

=== New Commands

* {clGetSemaphoreHandleForTypeKHR}

=== New Types

* {cl_external_semaphore_handle_type_khr_TYPE}
Expand Down
1 change: 0 additions & 1 deletion api/cl_khr_external_semaphore_sync_fd.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ external semaphore using the APIs introduced by

=== New Commands

* {clGetSemaphoreHandleForTypeKHR}
* {clReImportSemaphoreSyncFdKHR}

=== New Types
Expand Down
1 change: 1 addition & 0 deletions api/opencl_runtime_layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12940,6 +12940,7 @@ Please refer to handle specific documentation for more details on transference r
To export an external handle from a semaphore, call the function

include::{generated}/api/protos/clGetSemaphoreHandleForTypeKHR.txt[]
include::{generated}/api/version-notes/clGetSemaphoreHandleForTypeKHR.asciidoc[]

* _sema_object_ specifies a valid semaphore object with exportable
properties.
Expand Down

0 comments on commit fe6b158

Please sign in to comment.