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

#include <gpu_dyn_inst.hh>

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

Public Member Functions

 AtomicOpCAS (T _c, T _s, ComputeUnit *compute_unit)
 
void execute (T *b)
 
AtomicOpFunctorclone ()
 
- Public Member Functions inherited from TypedAtomicOpFunctor< T >
void operator() (uint8_t *p)
 
- Public Member Functions inherited from AtomicOpFunctor
virtual ~AtomicOpFunctor ()
 

Public Attributes

c
 
s
 
ComputeUnitcomputeUnit
 

Detailed Description

template<typename T>
class AtomicOpCAS< T >

Definition at line 51 of file gpu_dyn_inst.hh.

Constructor & Destructor Documentation

◆ AtomicOpCAS()

template<typename T >
AtomicOpCAS< T >::AtomicOpCAS ( _c,
_s,
ComputeUnit compute_unit 
)
inline

Definition at line 59 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS< T >::clone().

Member Function Documentation

◆ clone()

template<typename T >
AtomicOpFunctor* AtomicOpCAS< T >::clone ( )
inlinevirtual

◆ execute()

template<typename T >
void AtomicOpCAS< T >::execute ( T *  b)
inlinevirtual

Member Data Documentation

◆ c

template<typename T >
T AtomicOpCAS< T >::c

Definition at line 54 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS< T >::clone(), and AtomicOpCAS< T >::execute().

◆ computeUnit

template<typename T >
ComputeUnit* AtomicOpCAS< T >::computeUnit

Definition at line 57 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS< T >::clone(), and AtomicOpCAS< T >::execute().

◆ s

template<typename T >
T AtomicOpCAS< T >::s

Definition at line 55 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS< T >::clone(), and AtomicOpCAS< 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