atomic<T, addressSpace>
Constructs an instance of SYCL atomic which is associated with the pointer ptr, converted to a pointer of data type T.
(1) |
-
Constructs an instance of SYCL atomic which is associated with the pointer ptr, converted to a pointer of data type T.
Parameters:-
multi_ptr<pointerT, addressSpace>
ptr
: Pointer to be used in an atomic manner
-