gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::AtomicOpCAS< T > Class Template Reference

#include <gpu_dyn_inst.hh>

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

Public Member Functions

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

Public Attributes

c
 
s
 
ComputeUnitcomputeUnit
 

Detailed Description

template<typename T>
class gem5::AtomicOpCAS< T >

Definition at line 56 of file gpu_dyn_inst.hh.

Constructor & Destructor Documentation

◆ AtomicOpCAS()

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

Definition at line 64 of file gpu_dyn_inst.hh.

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

Member Function Documentation

◆ clone()

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

◆ execute()

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

Member Data Documentation

◆ c

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

◆ computeUnit

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

◆ s

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

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

Generated on Tue Sep 21 2021 12:27:17 for gem5 by doxygen 1.8.17