gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::Shader Class Reference

#include <shader.hh>

Inheritance diagram for gem5::Shader:
gem5::ClockedObject gem5::SimObject gem5::Clocked gem5::EventManager gem5::Serializable gem5::Drainable gem5::statistics::Group gem5::Named

Classes

struct  ShaderStats
 

Public Types

enum  hsail_mode_e { SIMT , VECTOR_SCALAR }
 
typedef ShaderParams Params
 
- Public Types inherited from gem5::ClockedObject
using Params = ClockedObjectParams
 Parameters of ClockedObject.
 
- Public Types inherited from gem5::SimObject
typedef SimObjectParams Params
 

Public Member Functions

GPUDispatcherdispatcher ()
 
void sampleLoad (const Tick accessTime)
 
void sampleStore (const Tick accessTime)
 
void sampleInstRoundTrip (std::vector< Tick > roundTripTime)
 
void sampleLineRoundTrip (const std::map< Addr, std::vector< Tick > > &roundTripTime)
 
void setHwReg (int regIdx, uint32_t val)
 
uint32_t getHwReg (int regIdx)
 
const ApertureRegistergpuVmApe () const
 
const ApertureRegisterldsApe () const
 
void setLdsApe (Addr base, Addr limit)
 
const ApertureRegisterscratchApe () const
 
void setScratchApe (Addr base, Addr limit)
 
bool isGpuVmApe (Addr addr) const
 
bool isLdsApe (Addr addr) const
 
bool isScratchApe (Addr addr) const
 
Addr getScratchBase ()
 
Addr getHiddenPrivateBase ()
 
void initShHiddenPrivateBase (Addr queueBase, uint32_t offset)
 
RequestorID vramRequestorId ()
 Forward the VRAM requestor ID needed for device memory from CP.
 
 Shader (const Params &p)
 
 ~Shader ()
 
virtual void init ()
 init() is called after all C++ SimObjects have been created and all ports are connected.
 
void execScheduledAdds ()
 
void ScheduleAdd (int *val, Tick when, int x)
 
bool processTimingPacket (PacketPtr pkt)
 
void AccessMem (uint64_t address, void *ptr, uint32_t size, int cu_id, MemCmd cmd, bool suppress_func_errors)
 
void ReadMem (uint64_t address, void *ptr, uint32_t sz, int cu_id)
 
void ReadMem (uint64_t address, void *ptr, uint32_t sz, int cu_id, bool suppress_func_errors)
 
void WriteMem (uint64_t address, void *ptr, uint32_t sz, int cu_id)
 
void WriteMem (uint64_t address, void *ptr, uint32_t sz, int cu_id, bool suppress_func_errors)
 
void doFunctionalAccess (const RequestPtr &req, MemCmd cmd, void *data, bool suppress_func_errors, int cu_id)
 
void registerCU (int cu_id, ComputeUnit *compute_unit)
 
void prepareInvalidate (HSAQueueEntry *task)
 
void prepareFlush (GPUDynInstPtr gpuDynInst)
 dispatcher/shader arranges flush requests to the CUs
 
bool dispatchWorkgroups (HSAQueueEntry *task)
 
Addr mmap (int length)
 
void functionalTLBAccess (PacketPtr pkt, int cu_id, BaseMMU::Mode mode)
 
void updateContext (int cid)
 
void notifyCuSleep ()
 
void incVectorInstSrcOperand (int num_operands)
 
void incVectorInstDstOperand (int num_operands)
 
void requestKernelExitEvent (bool is_blit_kernel)
 
void decNumOutstandingInvL2s ()
 
void incNumOutstandingInvL2s ()
 
int getNumOutstandingInvL2s () const
 
void addDeferredDispatch (void *raw_pkt, uint32_t queue_id, Addr host_pkt_addr)
 
- Public Member Functions inherited from gem5::ClockedObject
 ClockedObject (const ClockedObjectParams &p)
 
void serialize (CheckpointOut &cp) const override
 Serialize an object.
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
 
- Public Member Functions inherited from gem5::SimObject
const Paramsparams () const
 
 SimObject (const Params &p)
 
virtual ~SimObject ()
 
virtual void loadState (CheckpointIn &cp)
 loadState() is called on each SimObject when restoring from a checkpoint.
 
virtual void initState ()
 initState() is called on each SimObject when not restoring from a checkpoint.
 
virtual void regProbePoints ()
 Register probe points for this object.
 
virtual void regProbeListeners ()
 Register probe listeners for this object.
 
ProbeManagergetProbeManager ()
 Get the probe manager for this object.
 
virtual PortgetPort (const std::string &if_name, PortID idx=InvalidPortID)
 Get a port with a given name and index.
 
virtual void startup ()
 startup() is the final initialization call before simulation.
 
DrainState drain () override
 Provide a default implementation of the drain interface for objects that don't need draining.
 
virtual void memWriteback ()
 Write back dirty buffers to memory using functional writes.
 
virtual void memInvalidate ()
 Invalidate the contents of memory buffers.
 
void serialize (CheckpointOut &cp) const override
 Serialize an object.
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
 
- Public Member Functions inherited from gem5::EventManager
EventQueueeventQueue () const
 
void schedule (Event &event, Tick when)
 
void deschedule (Event &event)
 
void reschedule (Event &event, Tick when, bool always=false)
 
void schedule (Event *event, Tick when)
 
void deschedule (Event *event)
 
void reschedule (Event *event, Tick when, bool always=false)
 
void wakeupEventQueue (Tick when=(Tick) -1)
 This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers.
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 Event manger manages events in the event queue.
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
- Public Member Functions inherited from gem5::Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section.
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object.
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 
- Public Member Functions inherited from gem5::Drainable
DrainState drainState () const
 Return the current drain state of an object.
 
virtual void notifyFork ()
 Notify a child process of a fork.
 
- Public Member Functions inherited from gem5::statistics::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group.
 
virtual ~Group ()
 
virtual void regStats ()
 Callback to set stat parameters.
 
virtual void resetStats ()
 Callback to reset stats.
 
virtual void preDumpStats ()
 Callback before stats are dumped.
 
void addStat (statistics::Info *info)
 Register a stat with this group.
 
const std::map< std::string, Group * > & getStatGroups () const
 Get all child groups associated with this object.
 
const std::vector< Info * > & getStats () const
 Get all stats associated with this object.
 
void addStatGroup (const char *name, Group *block)
 Add a stat block as a child of this block.
 
const InforesolveStat (std::string name) const
 Resolve a stat by its name within this group.
 
void mergeStatGroup (Group *block)
 Merge the contents (stats & children) of a block to this block.
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
- Public Member Functions inherited from gem5::Named
 Named (const std::string &name_)
 
virtual ~Named ()=default
 
virtual std::string name () const
 
- Public Member Functions inherited from gem5::Clocked
void updateClockPeriod ()
 Update the tick to the current tick.
 
Tick clockEdge (Cycles cycles=Cycles(0)) const
 Determine the tick when a cycle begins, by default the current one, but the argument also enables the caller to determine a future cycle.
 
Cycles curCycle () const
 Determine the current cycle, corresponding to a tick aligned to a clock edge.
 
Tick nextCycle () const
 Based on the clock of the object, determine the start tick of the first cycle that is at least one cycle in the future.
 
uint64_t frequency () const
 
Tick clockPeriod () const
 
double voltage () const
 
Cycles ticksToCycles (Tick t) const
 
Tick cyclesToTicks (Cycles c) const
 

Public Attributes

SimpleThreadcpuThread
 
ThreadContextgpuTc
 
BaseCPUcpuPointer
 
EventFunctionWrapper tickEvent
 
bool timingSim
 
hsail_mode_e hsail_mode
 
int impl_kern_launch_acq
 
int impl_kern_end_rel
 
int coissue_return
 
int trace_vgpr_all
 
int n_cu
 
int n_wf
 
int n_cu_per_sqc
 
int globalMemSize
 
int nextSchedCu
 
uint32_t sa_n
 
std::vector< int * > sa_val
 
std::vector< uint64_t > sa_when
 
std::vector< int32_t > sa_x
 
std::vector< ComputeUnit * > cuList
 
GPUCommandProcessorgpuCmdProc
 
GPUDispatcher_dispatcher
 
AMDGPUSystemHubsystemHub
 
int64_t max_valu_insts
 
int64_t total_valu_insts
 
- Public Attributes inherited from gem5::ClockedObject
PowerStatepowerState
 

Protected Attributes

gem5::Shader::ShaderStats stats
 
- Protected Attributes inherited from gem5::SimObject
const SimObjectParams & _params
 Cached copy of the object parameters.
 
- Protected Attributes inherited from gem5::EventManager
EventQueueeventq
 A pointer to this object's event queue.
 

Private Attributes

ApertureRegister _gpuVmApe
 
ApertureRegister _ldsApe
 
ApertureRegister _scratchApe
 
Addr shHiddenPrivateBaseVmid
 
std::unordered_map< int, uint32_t > hwRegs
 
int _activeCus
 
Tick _lastInactiveTick
 
bool kernelExitRequested = false
 
bool blitKernel = false
 
int num_outstanding_invl2s = 0
 
std::vector< std::tuple< void *, uint32_t, Addr > > deferred_dispatches
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::SimObject
static void serializeAll (const std::string &cpt_dir)
 Create a checkpoint by serializing all SimObjects in the system.
 
static SimObjectfind (const char *name)
 Find the SimObject with the given name and return a pointer to it.
 
static void setSimObjectResolver (SimObjectResolver *resolver)
 There is a single object name resolver, and it is only set when simulation is restoring from checkpoints.
 
static SimObjectResolvergetSimObjectResolver ()
 There is a single object name resolver, and it is only set when simulation is restoring from checkpoints.
 
- Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section.
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it.
 
- Protected Member Functions inherited from gem5::Drainable
 Drainable ()
 
virtual ~Drainable ()
 
virtual void drainResume ()
 Resume execution after a successful drain.
 
void signalDrainDone () const
 Signal that an object is drained.
 
- Protected Member Functions inherited from gem5::Clocked
 Clocked (ClockDomain &clk_domain)
 Create a clocked object and set the clock domain based on the parameters.
 
 Clocked (Clocked &)=delete
 
Clockedoperator= (Clocked &)=delete
 
virtual ~Clocked ()
 Virtual destructor due to inheritance.
 
void resetClock () const
 Reset the object's clock using the current global tick value.
 
virtual void clockPeriodUpdated ()
 A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed.
 

Detailed Description

Definition at line 83 of file shader.hh.

Member Typedef Documentation

◆ Params

typedef ShaderParams gem5::Shader::Params

Definition at line 113 of file shader.hh.

Member Enumeration Documentation

◆ hsail_mode_e

Enumerator
SIMT 
VECTOR_SCALAR 

Definition at line 114 of file shader.hh.

Constructor & Destructor Documentation

◆ Shader()

gem5::Shader::Shader ( const Params & p)

Definition at line 57 of file shader.cc.

References execScheduledAdds().

◆ ~Shader()

gem5::Shader::~Shader ( )

Definition at line 158 of file shader.cc.

References cuList, and n_cu.

Member Function Documentation

◆ AccessMem()

void gem5::Shader::AccessMem ( uint64_t address,
void * ptr,
uint32_t size,
int cu_id,
MemCmd cmd,
bool suppress_func_errors )

Definition at line 395 of file shader.cc.

References cuList, doFunctionalAccess(), and gem5::ChunkGenerator::done().

Referenced by ReadMem(), ReadMem(), WriteMem(), and WriteMem().

◆ addDeferredDispatch()

void gem5::Shader::addDeferredDispatch ( void * raw_pkt,
uint32_t queue_id,
Addr host_pkt_addr )

Definition at line 571 of file shader.cc.

References deferred_dispatches.

Referenced by gem5::GPUCommandProcessor::submitDispatchPkt().

◆ decNumOutstandingInvL2s()

void gem5::Shader::decNumOutstandingInvL2s ( )

◆ dispatcher()

GPUDispatcher & gem5::Shader::dispatcher ( )

◆ dispatchWorkgroups()

◆ doFunctionalAccess()

void gem5::Shader::doFunctionalAccess ( const RequestPtr & req,
MemCmd cmd,
void * data,
bool suppress_func_errors,
int cu_id )

◆ execScheduledAdds()

void gem5::Shader::execScheduledAdds ( )

◆ functionalTLBAccess()

void gem5::Shader::functionalTLBAccess ( PacketPtr pkt,
int cu_id,
BaseMMU::Mode mode )

◆ getHiddenPrivateBase()

Addr gem5::Shader::getHiddenPrivateBase ( )
inline

Definition at line 203 of file shader.hh.

References shHiddenPrivateBaseVmid.

Referenced by gem5::GPUDynInst::resolveFlatSegment().

◆ getHwReg()

uint32_t gem5::Shader::getHwReg ( int regIdx)
inline

Definition at line 134 of file shader.hh.

References hwRegs.

◆ getNumOutstandingInvL2s()

int gem5::Shader::getNumOutstandingInvL2s ( ) const
inline

Definition at line 340 of file shader.hh.

References num_outstanding_invl2s.

Referenced by gem5::ComputeUnit::DataPort::handleResponse().

◆ getScratchBase()

Addr gem5::Shader::getScratchBase ( )
inline

Definition at line 197 of file shader.hh.

References _scratchApe, and gem5::ApertureRegister::base.

Referenced by gem5::GPUDynInst::resolveFlatSegment().

◆ gpuVmApe()

const ApertureRegister & gem5::Shader::gpuVmApe ( ) const
inline

Definition at line 140 of file shader.hh.

References _gpuVmApe.

◆ incNumOutstandingInvL2s()

void gem5::Shader::incNumOutstandingInvL2s ( )
inline

Definition at line 339 of file shader.hh.

References num_outstanding_invl2s.

Referenced by gem5::ComputeUnit::sendInvL2().

◆ incVectorInstDstOperand()

void gem5::Shader::incVectorInstDstOperand ( int num_operands)
inline

Definition at line 326 of file shader.hh.

References stats, and gem5::Shader::ShaderStats::vectorInstDstOperand.

Referenced by gem5::Wavefront::exec().

◆ incVectorInstSrcOperand()

void gem5::Shader::incVectorInstSrcOperand ( int num_operands)
inline

Definition at line 320 of file shader.hh.

References stats, and gem5::Shader::ShaderStats::vectorInstSrcOperand.

Referenced by gem5::Wavefront::exec().

◆ init()

void gem5::Shader::init ( )
virtual

init() is called after all C++ SimObjects have been created and all ports are connected.

Initializations that are independent of unserialization but rely on a fully instantiated and connected SimObject graph should be done here.

Reimplemented from gem5::SimObject.

Definition at line 150 of file shader.cc.

References cpuPointer, gem5::BaseCPU::getContext(), and gpuTc.

◆ initShHiddenPrivateBase()

void gem5::Shader::initShHiddenPrivateBase ( Addr queueBase,
uint32_t offset )
inline

Definition at line 209 of file shader.hh.

References gem5::ArmISA::offset, panic_if, and shHiddenPrivateBaseVmid.

Referenced by gem5::Wavefront::initRegState().

◆ isGpuVmApe()

bool gem5::Shader::isGpuVmApe ( Addr addr) const
inline

◆ isLdsApe()

bool gem5::Shader::isLdsApe ( Addr addr) const
inline

◆ isScratchApe()

bool gem5::Shader::isScratchApe ( Addr addr) const
inline

◆ ldsApe()

const ApertureRegister & gem5::Shader::ldsApe ( ) const
inline

◆ mmap()

◆ notifyCuSleep()

◆ prepareFlush()

void gem5::Shader::prepareFlush ( GPUDynInstPtr gpuDynInst)

dispatcher/shader arranges flush requests to the CUs

Definition at line 241 of file shader.cc.

References _dispatcher, cuList, gem5::GPUDispatcher::getOutstandingWbs(), and gem5::GPUDispatcher::updateWbCounter().

Referenced by gem5::VegaISA::Inst_SOPP__S_ENDPGM::execute().

◆ prepareInvalidate()

◆ processTimingPacket()

bool gem5::Shader::processTimingPacket ( PacketPtr pkt)

◆ ReadMem() [1/2]

void gem5::Shader::ReadMem ( uint64_t address,
void * ptr,
uint32_t sz,
int cu_id )

Definition at line 413 of file shader.cc.

References AccessMem(), and gem5::MemCmd::ReadReq.

◆ ReadMem() [2/2]

void gem5::Shader::ReadMem ( uint64_t address,
void * ptr,
uint32_t sz,
int cu_id,
bool suppress_func_errors )

Definition at line 419 of file shader.cc.

References AccessMem(), and gem5::MemCmd::ReadReq.

◆ registerCU()

void gem5::Shader::registerCU ( int cu_id,
ComputeUnit * compute_unit )
inline

Definition at line 305 of file shader.hh.

References cuList.

◆ requestKernelExitEvent()

void gem5::Shader::requestKernelExitEvent ( bool is_blit_kernel)
inline

Definition at line 332 of file shader.hh.

References blitKernel, and kernelExitRequested.

Referenced by gem5::GPUDispatcher::notifyWgCompl().

◆ sampleInstRoundTrip()

◆ sampleLineRoundTrip()

void gem5::Shader::sampleLineRoundTrip ( const std::map< Addr, std::vector< Tick > > & roundTripTime)

◆ sampleLoad()

◆ sampleStore()

◆ ScheduleAdd()

◆ scratchApe()

const ApertureRegister & gem5::Shader::scratchApe ( ) const
inline

◆ setHwReg()

void gem5::Shader::setHwReg ( int regIdx,
uint32_t val )
inline

Definition at line 128 of file shader.hh.

References hwRegs, and gem5::X86ISA::val.

Referenced by gem5::PM4PacketProcessor::mapProcess().

◆ setLdsApe()

void gem5::Shader::setLdsApe ( Addr base,
Addr limit )
inline

◆ setScratchApe()

void gem5::Shader::setScratchApe ( Addr base,
Addr limit )
inline

◆ updateContext()

void gem5::Shader::updateContext ( int cid)

Definition at line 165 of file shader.cc.

References cpuPointer, gem5::BaseCPU::getContext(), and gpuTc.

Referenced by gem5::GPUDispatcher::exec().

◆ vramRequestorId()

RequestorID gem5::Shader::vramRequestorId ( )

Forward the VRAM requestor ID needed for device memory from CP.

Definition at line 582 of file shader.cc.

References gpuCmdProc, and gem5::GPUCommandProcessor::vramRequestorId().

Referenced by gem5::ComputeUnit::vramRequestorId().

◆ WriteMem() [1/2]

void gem5::Shader::WriteMem ( uint64_t address,
void * ptr,
uint32_t sz,
int cu_id )

Definition at line 427 of file shader.cc.

References AccessMem(), and gem5::MemCmd::WriteReq.

◆ WriteMem() [2/2]

void gem5::Shader::WriteMem ( uint64_t address,
void * ptr,
uint32_t sz,
int cu_id,
bool suppress_func_errors )

Definition at line 433 of file shader.cc.

References AccessMem(), and gem5::MemCmd::WriteReq.

Member Data Documentation

◆ _activeCus

int gem5::Shader::_activeCus
private

Definition at line 95 of file shader.hh.

Referenced by dispatchWorkgroups(), and notifyCuSleep().

◆ _dispatcher

GPUDispatcher& gem5::Shader::_dispatcher

Definition at line 271 of file shader.hh.

Referenced by dispatcher(), prepareFlush(), and prepareInvalidate().

◆ _gpuVmApe

ApertureRegister gem5::Shader::_gpuVmApe
private

Definition at line 86 of file shader.hh.

Referenced by gpuVmApe(), and isGpuVmApe().

◆ _lastInactiveTick

Tick gem5::Shader::_lastInactiveTick
private

Definition at line 98 of file shader.hh.

Referenced by dispatchWorkgroups(), and notifyCuSleep().

◆ _ldsApe

ApertureRegister gem5::Shader::_ldsApe
private

Definition at line 87 of file shader.hh.

Referenced by isLdsApe(), ldsApe(), and setLdsApe().

◆ _scratchApe

ApertureRegister gem5::Shader::_scratchApe
private

Definition at line 88 of file shader.hh.

Referenced by getScratchBase(), isScratchApe(), scratchApe(), and setScratchApe().

◆ blitKernel

bool gem5::Shader::blitKernel = false
private

Definition at line 105 of file shader.hh.

Referenced by notifyCuSleep(), and requestKernelExitEvent().

◆ coissue_return

int gem5::Shader::coissue_return

◆ cpuPointer

BaseCPU* gem5::Shader::cpuPointer

Definition at line 125 of file shader.hh.

Referenced by init(), and updateContext().

◆ cpuThread

SimpleThread* gem5::Shader::cpuThread

Definition at line 123 of file shader.hh.

◆ cuList

◆ deferred_dispatches

std::vector<std::tuple<void *, uint32_t, Addr> > gem5::Shader::deferred_dispatches
private

Definition at line 110 of file shader.hh.

Referenced by addDeferredDispatch(), and decNumOutstandingInvL2s().

◆ globalMemSize

int gem5::Shader::globalMemSize

Definition at line 252 of file shader.hh.

Referenced by gem5::GlobalMemPipeline::init().

◆ gpuCmdProc

◆ gpuTc

◆ hsail_mode

hsail_mode_e gem5::Shader::hsail_mode

Definition at line 234 of file shader.hh.

Referenced by gem5::Wavefront::exec().

◆ hwRegs

std::unordered_map<int, uint32_t> gem5::Shader::hwRegs
private

Definition at line 92 of file shader.hh.

Referenced by getHwReg(), and setHwReg().

◆ impl_kern_end_rel

int gem5::Shader::impl_kern_end_rel

◆ impl_kern_launch_acq

int gem5::Shader::impl_kern_launch_acq

Definition at line 237 of file shader.hh.

Referenced by gem5::GPUDispatcher::exec().

◆ kernelExitRequested

bool gem5::Shader::kernelExitRequested = false
private

Definition at line 102 of file shader.hh.

Referenced by notifyCuSleep(), and requestKernelExitEvent().

◆ max_valu_insts

int64_t gem5::Shader::max_valu_insts

Definition at line 274 of file shader.hh.

Referenced by gem5::ComputeUnit::updateInstStats().

◆ n_cu

int gem5::Shader::n_cu

Definition at line 245 of file shader.hh.

Referenced by dispatchWorkgroups(), prepareInvalidate(), and ~Shader().

◆ n_cu_per_sqc

int gem5::Shader::n_cu_per_sqc

Definition at line 249 of file shader.hh.

Referenced by prepareInvalidate().

◆ n_wf

◆ nextSchedCu

int gem5::Shader::nextSchedCu

Definition at line 255 of file shader.hh.

Referenced by dispatchWorkgroups().

◆ num_outstanding_invl2s

int gem5::Shader::num_outstanding_invl2s = 0
private

◆ sa_n

uint32_t gem5::Shader::sa_n

Definition at line 258 of file shader.hh.

Referenced by execScheduledAdds(), and ScheduleAdd().

◆ sa_val

std::vector<int*> gem5::Shader::sa_val

Definition at line 261 of file shader.hh.

Referenced by execScheduledAdds(), and ScheduleAdd().

◆ sa_when

std::vector<uint64_t> gem5::Shader::sa_when

Definition at line 263 of file shader.hh.

Referenced by execScheduledAdds(), and ScheduleAdd().

◆ sa_x

std::vector<int32_t> gem5::Shader::sa_x

Definition at line 265 of file shader.hh.

Referenced by execScheduledAdds(), and ScheduleAdd().

◆ shHiddenPrivateBaseVmid

Addr gem5::Shader::shHiddenPrivateBaseVmid
private

Definition at line 89 of file shader.hh.

Referenced by getHiddenPrivateBase(), and initShHiddenPrivateBase().

◆ stats

◆ systemHub

◆ tickEvent

EventFunctionWrapper gem5::Shader::tickEvent

Definition at line 230 of file shader.hh.

Referenced by dispatchWorkgroups(), execScheduledAdds(), and ScheduleAdd().

◆ timingSim

bool gem5::Shader::timingSim

Definition at line 233 of file shader.hh.

Referenced by gem5::FetchUnit::init(), and gem5::ComputeUnit::sendRequest().

◆ total_valu_insts

int64_t gem5::Shader::total_valu_insts

Definition at line 275 of file shader.hh.

Referenced by gem5::ComputeUnit::updateInstStats().

◆ trace_vgpr_all

int gem5::Shader::trace_vgpr_all

Definition at line 243 of file shader.hh.


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

Generated on Tue Jun 18 2024 16:24:14 for gem5 by doxygen 1.11.0