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

#include <AtomicUniformCudaHip.hpp>

+ Inheritance diagram for alpakaGlobal::AlpakaBuiltInAtomic< alpaka::AtomicExch, T, THierarchy, typename std::void_t< decltype(atomicExch(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, typename THierarchy>
struct alpakaGlobal::AlpakaBuiltInAtomic< alpaka::AtomicExch, T, THierarchy, typename std::void_t< decltype(atomicExch(alpaka::core::declval< T * >(), alpaka::core::declval< T >()))> >

Definition at line 318 of file AtomicUniformCudaHip.hpp.

Member Function Documentation

◆ atomic()

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

Definition at line 325 of file AtomicUniformCudaHip.hpp.


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