This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Kokkos::atomic_load
Daniel Arndt edited this page May 1, 2020
·
3 revisions
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
.
-
Home:
- Introduction
- Machine Model
- Programming Model
- Compiling
- Initialization
- View
- Parallel Dispatch
- Hierarchical Parallelism
- Custom Reductions
- Atomic Operations
- Subviews
- Interoperability
- Kokkos and Virtual Functions
- Initialization and Finalization
- View
- Data Parallelism
- Execution Policies
- Spaces
- Task Parallelism
- Utilities
- STL Compatibility
- Numerics
- Detection Idiom