MFEM  v4.4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
backends.hpp File Reference

Go to the source code of this file.


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

Function Documentation

MFEM_DEVICE double atomicAdd ( double *  add,
double  val 

Definition at line 68 of file backends.hpp.

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

Definition at line 84 of file backends.hpp.