alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::detail::EmulateAtomic< TOp, TAtomic, T, THierarchy, TSfinae, TDefer > Struct Template Reference

Emulate atomic. More...

#include <AtomicUniformCudaHipBuiltIn.hpp>

+ Inheritance diagram for alpaka::trait::detail::EmulateAtomic< TOp, TAtomic, T, THierarchy, TSfinae, TDefer >:

Static Public Member Functions

static __device__ auto atomic (alpaka::AtomicUniformCudaHipBuiltIn const &ctx, T *const addr, T const &value) -> T
 

Detailed Description

template<typename TOp, typename TAtomic, typename T, typename THierarchy, typename TSfinae = void, typename TDefer = void>
struct alpaka::trait::detail::EmulateAtomic< TOp, TAtomic, T, THierarchy, TSfinae, TDefer >

Emulate atomic.

Definition at line 69 of file AtomicUniformCudaHipBuiltIn.hpp.

Member Function Documentation

◆ atomic()

template<typename TOp , typename TAtomic , typename T , typename THierarchy , typename TSfinae = void, typename TDefer = void>
static __device__ auto alpaka::trait::detail::EmulateAtomic< TOp, TAtomic, T, THierarchy, TSfinae, TDefer >::atomic ( alpaka::AtomicUniformCudaHipBuiltIn const &  ctx,
T *const  addr,
T const &  value 
) -> T
inlinestatic

Definition at line 72 of file AtomicUniformCudaHipBuiltIn.hpp.


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