atomic_exchange
Global function atomic_exchange. Calls exchange on SYCL atomic object.
(1) |
-
Global function atomic_exchange. Calls exchange on SYCL atomic object.
Parameters:-
atomic<T, addressSpace>
object
: The atomic object to exchange with -
T
operand
-
cl::sycl::memory_order
mem_order
: The memory ordering to use. Only memory_order_relaxed
-