alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onAcc::scope::Device Struct Reference

Scope for atomic and fence operations visible across all thread blocks on the same device. More...

#include <scope.hpp>

Inheritance diagram for alpaka::onAcc::scope::Device:

Static Public Member Functions

static std::string getName ()

Detailed Description

Scope for atomic and fence operations visible across all thread blocks on the same device.

When used with atomic operations, all threads on the same device will see the updated value. When used with threadFence, it ensures that all writes from the current thread are visible to all other threads on the same device.

Note
This scope is stronger than Block but weaker than System.

Definition at line 62 of file scope.hpp.

Member Function Documentation

◆ getName()

std::string alpaka::onAcc::scope::Device::getName ( )
inlinestatic

Definition at line 64 of file scope.hpp.


The documentation for this struct was generated from the following file: