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 (#1219)

Align the language to clCreateBufferWithProperties.


Change-Id: I58659fc9cd7fd3ae5178826285fd84d6932b29d8

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
  • Loading branch information
kpet authored Aug 13, 2024
1 parent a26e00b commit b32ac1b
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 @@ -13085,7 +13085,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 b32ac1b

Please sign in to comment.