alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include <AtomicUniformCudaHipBuiltIn.hpp>
Static Public Member Functions | |
template<typename TAddressType > | |
static __device__ auto | reinterpretAddress (TAddressType *address) -> std::enable_if_t< sizeof(TAddressType)==4u, unsigned int * > |
reinterprets an address as an 32bit value for atomicCas emulation usage More... | |
template<typename TAddressType > | |
static __device__ auto | reinterpretAddress (TAddressType *address) -> std::enable_if_t< sizeof(TAddressType)==8u, unsigned long long int * > |
reinterprets a address as an 64bit value for atomicCas emulation usage More... | |
template<typename T_Type > | |
static __device__ auto | reinterpretValue (T_Type value) |
reinterprets a value to be usable for the atomicCAS emulation More... | |
Definition at line 33 of file AtomicUniformCudaHipBuiltIn.hpp.
|
inlinestatic |
reinterprets an address as an 32bit value for atomicCas emulation usage
Definition at line 37 of file AtomicUniformCudaHipBuiltIn.hpp.
|
inlinestatic |
reinterprets a address as an 64bit value for atomicCas emulation usage
Definition at line 45 of file AtomicUniformCudaHipBuiltIn.hpp.
|
inlinestatic |
reinterprets a value to be usable for the atomicCAS emulation
Definition at line 53 of file AtomicUniformCudaHipBuiltIn.hpp.