|
template<class T > |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T | Add_device (T *const sum, T const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Long | Add_device (Long *const sum, Long const value) noexcept |
|
template<class T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | Add (T *sum, T value) noexcept |
|
template<typename T , typename Op , typename Cond , std::enable_if_t< sizeof(T)==sizeof(unsigned int), int > foo = 0> |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE bool | If_device (T *const sum, T const value, Op &&op, Cond &&cond) noexcept |
|
template<class T , class Op , class Cond > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | If (T *const add, T const value, Op &&op, Cond &&cond) noexcept |
| Conditionally perform an atomic operation. More...
|
|
template<class T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | AddNoRet (T *sum, T value) noexcept |
|
template<class T > |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T | Min_device (T *const m, T const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE float | Min_device (float *const m, float const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE double | Min_device (double *const m, double const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Long | Min_device (Long *const m, Long const value) noexcept |
|
template<class T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | Min (T *const m, T const value) noexcept |
|
template<class T > |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T | Max_device (T *const m, T const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE float | Max_device (float *const m, float const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE double | Max_device (double *const m, double const value) noexcept |
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Long | Max_device (Long *const m, Long const value) noexcept |
|
template<class T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | Max (T *const m, T const value) noexcept |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | LogicalOr (int *const m, int const value) noexcept |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | LogicalAnd (int *const m, int const value) noexcept |
|
template<typename T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | Exch (T *address, T val) noexcept |
|
template<typename T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | CAS (T *const address, T compare, T const val) noexcept |
|
template<typename T , std::enable_if_t< sizeof(T)==sizeof(int), int > = 0> |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T | Multiply_device (T *const prod, T const value) noexcept |
|
template<class T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | Multiply (T *const prod, T const value) noexcept |
|
template<typename T , std::enable_if_t< sizeof(T)==sizeof(int), int > = 0> |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T | Divide_device (T *const quot, T const value) noexcept |
|
template<class T > |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | Divide (T *const quot, T const value) noexcept |
|