Skip to content

Commit 6cb2cf3

Browse files
committed
Add note about validity of opened ptrs after put
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 3bc26d0 commit 6cb2cf3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_inter_process_communication.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ with the handle have been deallocated, i.e. through a call to the `put` function
207207
or through freeing the USM device memory, the handle data is invalid and using
208208
it in the `put` and `open` functions will result in undefined behavior.
209209

210+
[_Note:_ Any pointers retrieved through a call to the `open` function in any
211+
process on the system will still be valid and must still be freed through calls
212+
to the `close` function.
213+
_{endnote}_]
214+
210215
!====
211216
a!
212217
[source]

0 commit comments

Comments
 (0)