gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::LocalMemPipeline Class Reference

#include <local_memory_pipeline.hh>

Classes

struct  LocalMemPipelineStats
 

Public Member Functions

 LocalMemPipeline (const ComputeUnitParams &p, ComputeUnit &cu)
 
void exec ()
 
std::queue< GPUDynInstPtr > & getLMRespFIFO ()
 
void issueRequest (GPUDynInstPtr gpuDynInst)
 
bool isLMRespFIFOWrRdy () const
 
bool isLMReqFIFOWrRdy (uint32_t pendReqs=0) const
 
const std::string & name () const
 
void incLoadVRFBankConflictCycles (int num_cycles)
 
void printProgress ()
 

Protected Attributes

gem5::LocalMemPipeline::LocalMemPipelineStats stats
 

Private Attributes

ComputeUnitcomputeUnit
 
const std::string _name
 
int lmQueueSize
 
std::queue< GPUDynInstPtrlmIssuedRequests
 
std::queue< GPUDynInstPtrlmReturnedRequests
 

Detailed Description

Definition at line 57 of file local_memory_pipeline.hh.

Constructor & Destructor Documentation

◆ LocalMemPipeline()

gem5::LocalMemPipeline::LocalMemPipeline ( const ComputeUnitParams & p,
ComputeUnit & cu )

Definition at line 45 of file local_memory_pipeline.cc.

References _name, computeUnit, lmQueueSize, name(), gem5::MipsISA::p, and stats.

Member Function Documentation

◆ exec()

void gem5::LocalMemPipeline::exec ( )

◆ getLMRespFIFO()

std::queue< GPUDynInstPtr > & gem5::LocalMemPipeline::getLMRespFIFO ( )
inline

Definition at line 62 of file local_memory_pipeline.hh.

References lmReturnedRequests.

◆ incLoadVRFBankConflictCycles()

void gem5::LocalMemPipeline::incLoadVRFBankConflictCycles ( int num_cycles)
inline

Definition at line 82 of file local_memory_pipeline.hh.

References stats.

◆ isLMReqFIFOWrRdy()

bool gem5::LocalMemPipeline::isLMReqFIFOWrRdy ( uint32_t pendReqs = 0) const
inline

Definition at line 74 of file local_memory_pipeline.hh.

References lmIssuedRequests, and lmQueueSize.

◆ isLMRespFIFOWrRdy()

bool gem5::LocalMemPipeline::isLMRespFIFOWrRdy ( ) const
inline

Definition at line 68 of file local_memory_pipeline.hh.

References lmQueueSize, and lmReturnedRequests.

◆ issueRequest()

◆ name()

const std::string & gem5::LocalMemPipeline::name ( ) const
inline

Definition at line 79 of file local_memory_pipeline.hh.

References _name.

Referenced by LocalMemPipeline().

◆ printProgress()

void gem5::LocalMemPipeline::printProgress ( )

Definition at line 153 of file local_memory_pipeline.cc.

References lmIssuedRequests, and lmReturnedRequests.

Member Data Documentation

◆ _name

const std::string gem5::LocalMemPipeline::_name
private

Definition at line 91 of file local_memory_pipeline.hh.

Referenced by LocalMemPipeline(), and name().

◆ computeUnit

ComputeUnit& gem5::LocalMemPipeline::computeUnit
private

Definition at line 90 of file local_memory_pipeline.hh.

Referenced by exec(), and LocalMemPipeline().

◆ lmIssuedRequests

std::queue<GPUDynInstPtr> gem5::LocalMemPipeline::lmIssuedRequests
private

Definition at line 96 of file local_memory_pipeline.hh.

Referenced by exec(), isLMReqFIFOWrRdy(), issueRequest(), and printProgress().

◆ lmQueueSize

int gem5::LocalMemPipeline::lmQueueSize
private

◆ lmReturnedRequests

std::queue<GPUDynInstPtr> gem5::LocalMemPipeline::lmReturnedRequests
private

Definition at line 100 of file local_memory_pipeline.hh.

Referenced by exec(), getLMRespFIFO(), isLMRespFIFOWrRdy(), and printProgress().

◆ stats

gem5::LocalMemPipeline::LocalMemPipelineStats gem5::LocalMemPipeline::stats
protected

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

Generated on Mon May 26 2025 09:19:22 for gem5 by doxygen 1.13.2