MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
backends.hpp File Reference

Go to the source code of this file.

Functions

MFEM_DEVICE mfem::real_t atomicAdd (mfem::real_t *add, mfem::real_t val)
 
template<typename T >
MFEM_HOST_DEVICE T AtomicAdd (T &add, const T val)
 

Function Documentation

◆ AtomicAdd()

template<typename T >
MFEM_HOST_DEVICE T AtomicAdd ( T & add,
const T val )

Definition at line 93 of file backends.hpp.

◆ atomicAdd()

MFEM_DEVICE mfem::real_t atomicAdd ( mfem::real_t * add,
mfem::real_t val )
inline

Definition at line 69 of file backends.hpp.