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

Go to the source code of this file.

Functions

MFEM_DEVICE real_t atomicAdd (real_t *add, 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 92 of file backends.hpp.

◆ atomicAdd()

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

Definition at line 68 of file backends.hpp.