gem5 [DEVELOP-FOR-25.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 81 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 89 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 103 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 93 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 84 of file gpu_dyn_inst.hh.

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

◆ computeUnit

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

Definition at line 87 of file gpu_dyn_inst.hh.

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

◆ s

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

Definition at line 85 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 Mon Oct 27 2025 04:13:08 for gem5 by doxygen 1.14.0