Block-Structured AMR Software Framework
amrex::HostDevice::Atomic Namespace Reference

Functions

template<class T >
AMREX_FORCE_INLINE void Add_Host (T *const sum, T const value) noexcept
 
template<class T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void Add (T *const sum, T const value) noexcept
 

Function Documentation

◆ Add()

template<class T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amrex::HostDevice::Atomic::Add ( T *const  sum,
T const  value 
)
noexcept

◆ Add_Host()

template<class T >
AMREX_FORCE_INLINE void amrex::HostDevice::Atomic::Add_Host ( T *const  sum,
T const  value 
)
noexcept