![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Scope for atomic and fence operations visible only within the same thread block. More...
#include <scope.hpp>
Static Public Member Functions | |
| static std::string | getName () |
Scope for atomic and fence operations visible only within the same thread block.
When used with atomic operations (e.g., atomicAdd), only threads within the same block will see the updated value. When used with threadFence, it ensures that all writes from the current thread are visible to all other threads in the same block.
|
inlinestatic |