Toggle table of contents sidebar
atomic_assign
¶
Defined in header <Kokkos_Atomic.hpp>
which is included from <Kokkos_Core.hpp>
atomic_assign(&obj, desired);
Atomically replaces the current value of obj
with desired
.
Atomically writes val
into *ptr
.
{ *ptr = val; }
ptr – address of the object whose value is to be replaced
val – the value to store in the referenced object
(nothing)
Deprecated since version 4.5: Use atomic_store()
instead.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4