MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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

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.