Reverse atomic implementation for OpenMP. More...
#include <openMPReverseAtomic.hpp>
Public Types | |
using | Type = T_Type |
See OpenMPReverseAtomicImpl. | |
Public Types inherited from codi::ReverseAtomicInterface< T_Type, T_Impl > | |
using | Impl = T_Impl |
See ReverseAtomicInterface. | |
using | Type = T_Type |
See ReverseAtomicInterface. | |
Public Member Functions | |
OpenMPReverseAtomicImpl ()=delete | |
Public Member Functions inherited from codi::ReverseAtomicInterface< T_Type, T_Impl > | |
operator Type () const | |
Implicit cast to underlying type for rhs access. Not atomic. | |
void | operator+= (Impl const &other) |
Atomic incremental update with implementing type as rhs. | |
void | operator+= (Type const &other) |
Atomic incremental update with underlying type as rhs. | |
Impl & | operator= (Impl const &other) |
Assignment operator with implementing type as rhs. Not atomic. | |
Impl & | operator= (Type const &other) |
Assignment operator with underlying type as rhs. Not atomic. | |
ReverseAtomicInterface () | |
Constructor. | |
ReverseAtomicInterface (ReverseAtomicInterface const &) | |
Constructor. | |
ReverseAtomicInterface (Type const &) | |
Constructor. | |
~ReverseAtomicInterface () | |
Destructor. | |
Reverse atomic implementation for OpenMP.
OpenMP reverse atomics are disabled for all types by default. Reverse atomics for arithmetic types and forward CoDiPack types are enabled by specializations.
See also ReverseAtomicInterface.
T_Type | The underlying data type. |
T_Sfinae | Additional SFNIAE parameter for enable-if constructs. |
|
delete |
Constructor is deleted, will throw errors for unspecialized instantiations.