alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::AtomicOp< TOp, AtomicNoOp, T, THierarchy > Struct Template Reference

The NoOp atomic operation. More...

#include <AtomicNoOp.hpp>

Static Public Member Functions

static ALPAKA_FN_HOST auto atomicOp (AtomicNoOp const &, T *const addr, T const &compare, T const &value) -> T
 
static ALPAKA_FN_HOST auto atomicOp (AtomicNoOp const &, T *const addr, T const &value) -> T
 

Detailed Description

template<typename TOp, typename T, typename THierarchy>
struct alpaka::trait::AtomicOp< TOp, AtomicNoOp, T, THierarchy >

The NoOp atomic operation.

Definition at line 20 of file AtomicNoOp.hpp.

Member Function Documentation

◆ atomicOp() [1/2]

template<typename TOp , typename T , typename THierarchy >
static ALPAKA_FN_HOST auto alpaka::trait::AtomicOp< TOp, AtomicNoOp, T, THierarchy >::atomicOp ( AtomicNoOp const &  ,
T *const  addr,
T const &  compare,
T const &  value 
) -> T
inlinestatic

Definition at line 27 of file AtomicNoOp.hpp.

◆ atomicOp() [2/2]

template<typename TOp , typename T , typename THierarchy >
static ALPAKA_FN_HOST auto alpaka::trait::AtomicOp< TOp, AtomicNoOp, T, THierarchy >::atomicOp ( AtomicNoOp const &  ,
T *const  addr,
T const &  value 
) -> T
inlinestatic

Definition at line 22 of file AtomicNoOp.hpp.


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