Skip to content

Commit 87b073c

Browse files
authored
Merge pull request #64 from Pennycook/clarify-atomics
Clarify introduction of atomic class
2 parents 63d715a + dbb22ad commit 87b073c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

latex/programming_interface.tex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3203,11 +3203,9 @@ \section{Synchronization and atomics}
32033203

32043204
The SYCL specification provides atomic operations based on the C++11
32053205
library 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
32113209
library must be used in device code to ensure that only the limited
32123210
subset of functionality is available. SYCL 1.2.1 device compilers should
32133211
give a compilation error on use of the \codeinline{std::atomic}

0 commit comments

Comments
 (0)