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

#include <AtomicUniformCudaHip.hpp>

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

Definition at line 250 of file AtomicUniformCudaHip.hpp.

Member Function Documentation

◆ atomic()

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

Definition at line 257 of file AtomicUniformCudaHip.hpp.


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