Kokkos::atomic_load - cz4rs/kokkos-core-wiki GitHub Wiki
Header File: Kokkos_Core.hpp
Usage:
value = atomic_load(ptr_to_value);Atomically reads the value at the address given by ptr_to_value.
template<class T>
T atomic_load(T* const ptr_to_value);-
template<class T> T atomic_load(T* const ptr_to_value);
Atomically executes
value = *ptr_to_value; return value;.-
ptr_to_value: address of the to be updated value. -
value: value at addressptr_to_value.
-