MFEM  v4.6.0
Finite element discretization library
Functions
backends.hpp File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ atomicAdd()

MFEM_DEVICE double atomicAdd ( double *  add,
double  val 
)
inline

Definition at line 68 of file backends.hpp.

◆ AtomicAdd()

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

Definition at line 84 of file backends.hpp.