Skip to content

Commit

Permalink
Clarify what re-import properties are accepted by clReImportSemaphore…
Browse files Browse the repository at this point in the history
…SyncFdKHR

Align the language to clCreateBufferWithProperties.

Signed-off-by: Kevin Petit <[email protected]>
Change-Id: I58659fc9cd7fd3ae5178826285fd84d6932b29d8
  • Loading branch information
kpet committed Aug 6, 2024
1 parent 6be4f45 commit d48c53d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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.0.1, 2024-08-06
** Clarify what re-import properties are accepted by {clReImportSemaphoreSyncFdKHR}.
5 changes: 4 additions & 1 deletion api/opencl_runtime_layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13073,7 +13073,10 @@ include::{generated}/api/protos/clReImportSemaphoreSyncFdKHR.txt[]

* _sema_object_ specifies a valid semaphore object with importable
properties.
* _reimport_props_ must be `NULL`, and is reserved for future use.
* _reimport_props_ is an optional list of properties that affect the
re-import behavior. The list is terminated with the special property `0`.
If no properties are required, _reimport_props_ may be `NULL`. This extension
does not define any optional properties.
* _fd_ specifies an external file descriptor handle to import

Calling {clReImportSemaphoreSyncFdKHR} is equivalent to destroying
Expand Down

0 comments on commit d48c53d

Please sign in to comment.