gem5 v25.0.0.1
Loading...
Searching...
No Matches
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 54 of file gpu_dyn_inst.hh.

Constructor & Destructor Documentation

◆ AtomicOpCAS()

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

Definition at line 62 of file gpu_dyn_inst.hh.

References c, computeUnit, and s.

Referenced by clone().

Member Function Documentation

◆ clone()

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

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 76 of file gpu_dyn_inst.hh.

References AtomicOpCAS(), c, computeUnit, and s.

◆ execute()

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

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 66 of file gpu_dyn_inst.hh.

References gem5::ArmISA::b, c, computeUnit, and s.

Member Data Documentation

◆ c

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

Definition at line 57 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS(), clone(), and execute().

◆ computeUnit

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

Definition at line 60 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS(), clone(), and execute().

◆ s

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

Definition at line 58 of file gpu_dyn_inst.hh.

Referenced by AtomicOpCAS(), clone(), and execute().


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

Generated on Sat Oct 18 2025 08:06:49 for gem5 by doxygen 1.14.0