CoDiPack  3.1.3
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, OpenMPReverseAtomicImpl< T_Type, void > >
using Impl
 See ReverseAtomicInterface.
using Type
 See ReverseAtomicInterface.

Public Member Functions

 OpenMPReverseAtomicImpl ()=delete
Public Member Functions inherited from codi::ReverseAtomicInterface< T_Type, OpenMPReverseAtomicImpl< T_Type, void > >
 inlineReverseAtomicInterface ()
 Constructor.
inlinevoid operator+= (Impl const &other)
 Atomic incremental update with implementing type as rhs.
inlineImpl & operator= (Impl const &other)
 Assignment operator with implementing type as rhs. Not atomic.
 ~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: