File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3203,11 +3203,9 @@ \section{Synchronization and atomics}
32033203
32043204The SYCL specification provides atomic operations based on the C++11
32053205library syntax. The only available ordering, due to constraints of the
3206- OpenCL 1.2 memory model, is \codeinline {memory_order_relaxed}. No
3207- default order is supported because a default order would imply
3208- sequential consistency. The SYCL atomic library may map directly to
3209- the underlying C++11 library in host code, and must interact safely
3210- with the host C++11 atomic library when used in host code. The SYCL
3206+ OpenCL 1.2 memory model, is \codeinline {memory_order_relaxed}.
3207+ The SYCL atomic library may map directly to
3208+ the underlying C++11 library on the host device. The SYCL
32113209library must be used in device code to ensure that only the limited
32123210subset of functionality is available. SYCL 1.2.1 device compilers should
32133211give a compilation error on use of the \codeinline {std::atomic}
You can’t perform that action at this time.
0 commit comments