alpaka
Abstraction Library for Parallel Kernel Acceleration
alpakaGlobal::AlpakaBuiltInAtomic< alpaka::AtomicExch, T, alpaka::hierarchy::Threads, typename std::void_t< decltype(atomicExch_block(alpaka::core::declval< T * >(), alpaka::core::declval< T >()))> > Struct Template Reference

#include <AtomicUniformCudaHip.hpp>

+ Inheritance diagram for alpakaGlobal::AlpakaBuiltInAtomic< alpaka::AtomicExch, T, alpaka::hierarchy::Threads, typename std::void_t< decltype(atomicExch_block(alpaka::core::declval< T * >(), alpaka::core::declval< T >()))> >:

Static Public Member Functions

static __device__ T atomic (T *add, T value)
 

Detailed Description

template<typename T>
struct alpakaGlobal::AlpakaBuiltInAtomic< alpaka::AtomicExch, T, alpaka::hierarchy::Threads, typename std::void_t< decltype(atomicExch_block(alpaka::core::declval< T * >(), alpaka::core::declval< T >()))> >

Definition at line 333 of file AtomicUniformCudaHip.hpp.

Member Function Documentation

◆ atomic()

template<typename T >
static __device__ T alpakaGlobal::AlpakaBuiltInAtomic< alpaka::AtomicExch, T, alpaka::hierarchy::Threads, typename std::void_t< decltype(atomicExch_block(alpaka::core::declval< T * >(), alpaka::core::declval< T >()))> >::atomic ( T *  add,
value 
)
inlinestatic

Definition at line 340 of file AtomicUniformCudaHip.hpp.


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