MFEM  v4.5.2
Finite element discretization library
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

◆ atomicAdd()

MFEM_DEVICE double atomicAdd ( double *  add,
double  val 

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.