gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
AtomicGenericPair3Op< T > Class Template Reference

#include <amo.hh>

Inheritance diagram for AtomicGenericPair3Op< T >:
TypedAtomicOpFunctor< T > AtomicOpFunctor

Public Member Functions

 AtomicGenericPair3Op (std::array< T, 2 > &_a, std::array< T, 2 > _c, std::function< void(T *, std::array< T, 2 > &, std::array< T, 2 >)> _op)
 
AtomicOpFunctorclone () override
 
void execute (T *b) override
 
- Public Member Functions inherited from TypedAtomicOpFunctor< T >
void operator() (uint8_t *p)
 
- Public Member Functions inherited from AtomicOpFunctor
virtual ~AtomicOpFunctor ()
 

Private Attributes

std::array< T, 2 > a
 
std::array< T, 2 > c
 
std::function< void(T *, std::array< T, 2 > &, std::array< T, 2 >)> op
 

Detailed Description

template<typename T>
class AtomicGenericPair3Op< T >

Definition at line 105 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicGenericPair3Op()

template<typename T >
AtomicGenericPair3Op< T >::AtomicGenericPair3Op ( std::array< T, 2 > &  _a,
std::array< T, 2 >  _c,
std::function< void(T *, std::array< T, 2 > &, std::array< T, 2 >)>  _op 
)
inline

Definition at line 108 of file amo.hh.

Member Function Documentation

◆ clone()

template<typename T >
AtomicOpFunctor* AtomicGenericPair3Op< T >::clone ( )
inlineoverridevirtual

Implements TypedAtomicOpFunctor< T >.

Definition at line 112 of file amo.hh.

◆ execute()

template<typename T >
void AtomicGenericPair3Op< T >::execute ( T *  b)
inlineoverridevirtual

Member Data Documentation

◆ a

template<typename T >
std::array<T, 2> AtomicGenericPair3Op< T >::a
private

Definition at line 121 of file amo.hh.

Referenced by AtomicGenericPair3Op< T >::execute().

◆ c

template<typename T >
std::array<T, 2> AtomicGenericPair3Op< T >::c
private

Definition at line 122 of file amo.hh.

Referenced by AtomicGenericPair3Op< T >::execute().

◆ op

template<typename T >
std::function<void(T*, std::array<T, 2>&, std::array<T, 2>)> AtomicGenericPair3Op< T >::op
private

Definition at line 123 of file amo.hh.

Referenced by AtomicGenericPair3Op< T >::execute().


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

Generated on Wed Sep 30 2020 14:02:21 for gem5 by doxygen 1.8.17