Skip to content

Commit 3be2e42

Browse files
[SYCL][Docs] Clarify that weak_object is only available on host (#8713)
This commit makes a clarification to sycl_ext_oneapi_weak_object that the new interfaces are only available on the host application. --------- Signed-off-by: Larsen, Steffen <[email protected]> Co-authored-by: Greg Lueck <[email protected]>
1 parent 0b853c2 commit 3be2e42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/doc/extensions/supported/sycl_ext_oneapi_weak_object.asciidoc

+2
Original file line numberDiff line numberDiff line change
@@ -330,3 +330,5 @@ they are both empty `weak_object` instances.
330330

331331
|===
332332

333+
The `weak_object` class, the `ext_oneapi_owner_before` member functions and the
334+
`owner_less` function object type must not be used in device code.

0 commit comments

Comments
 (0)