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

Atomic implementation for OpenMP. More...

#include <openMPAtomic.hpp>

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

Public Types

using Type = T_Type
 See OpenMPAtomicImpl.
Public Types inherited from codi::AtomicInterface< T_Type, OpenMPAtomicImpl< T_Type, void > >
using Impl
 See AtomicInterface.
using Type
 See AtomicInterface.

Public Member Functions

 OpenMPAtomicImpl ()=delete
 Constructor is deleted, will throw errors for unspecialized instantiations.
Public Member Functions inherited from codi::AtomicInterface< T_Type, OpenMPAtomicImpl< T_Type, void > >
 inlineAtomicInterface ()
 Constructor.
inlineType operator++ ()
 Pre-increment operator.
inlineType operator+= (Impl const &other)
 Incremental update with implementing type as rhs.
inlineType operator-- ()
 Pre-decrement operator.
inlineImpl & operator= (Impl const &other)
 Assignment operator with implementing type as rhs.
 ~AtomicInterface ()
 Destructor.

Detailed Description

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

Atomic implementation for OpenMP.

OpenMP atomics are disabled for all types by default. Atomics for arithmetic types and forward CoDiPack types are enabled by specializations.

See also AtomicInterface.

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

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