Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20648,6 +20648,11 @@ operations in device code with a syntax similar to the {cpp} standard
[code]#std::atomic_ref#.
The [code]#sycl::atomic_ref# class must not be used in host code.

The referenced object of type [code]#T# must not reside in the private address
space.
If [code]#atomic_ref# is constructed with a reference to an object in the
private address space, the behavior is undefined.

Unlike [code]#std::atomic_ref#, [code]#sycl::atomic_ref# does not provide a
default memory ordering for its operations.
Instead, the application must specify a default ordering via the
Expand Down
Loading