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