CoDiPack  2.3.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::OpenMPReverseAtomicImpl< T_Type, T_Sfinae > Struct Template Reference

Reverse atomic implementation for OpenMP. More...

#include <openMPReverseAtomic.hpp>

Inheritance diagram for codi::OpenMPReverseAtomicImpl< T_Type, T_Sfinae >:

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.
 
Imploperator= (Impl const &other)
 Assignment operator with implementing type as rhs. Not atomic.
 
Imploperator= (Type const &other)
 Assignment operator with underlying type as rhs. Not atomic.
 
 ReverseAtomicInterface ()
 Constructor.
 
 ReverseAtomicInterface (ReverseAtomicInterface const &)
 Constructor.
 
 ReverseAtomicInterface (Type const &)
 Constructor.
 
 ~ReverseAtomicInterface ()
 Destructor.
 

Detailed Description

template<typename T_Type, typename T_Sfinae = void>
struct codi::OpenMPReverseAtomicImpl< T_Type, T_Sfinae >

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.

Template Parameters
T_TypeThe underlying data type.
T_SfinaeAdditional SFNIAE parameter for enable-if constructs.

Constructor & Destructor Documentation

◆ OpenMPReverseAtomicImpl()

template<typename T_Type , typename T_Sfinae = void>
codi::OpenMPReverseAtomicImpl< T_Type, T_Sfinae >::OpenMPReverseAtomicImpl ( )
delete

Constructor is deleted, will throw errors for unspecialized instantiations.


The documentation for this struct was generated from the following file: