Skip to content

Commit a1a7945

Browse files
committed
Clarify put result
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 33d34a9 commit a1a7945

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_inter_process_communication.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ the same system. The USM device memory has not yet been freed in this process.
202202

203203
_Effects:_ Deallocates resources associated with the handle. These resources are
204204
automatically deallocated when the USM device memory is freed, so it is not
205-
strictly necessary to call the `put` function.
205+
strictly necessary to call the `put` function. After the resources associated
206+
with the handle have been deallocated, i.e. through a call to the `put` function
207+
or through freeing the USM device memory, the handle data is invalid and using
208+
it in the `put` and `open` functions will result in undefined behavior.
206209

207210
!====
208211
a!

0 commit comments

Comments
 (0)