gem5 v24.0.0.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)
 

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.

Member Function Documentation

◆ 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

◆ 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.

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

◆ isLMRespFIFOWrRdy()

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

Definition at line 68 of file local_memory_pipeline.hh.

References lmQueueSize, and lmReturnedRequests.

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

◆ issueRequest()

◆ name()

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

Definition at line 79 of file local_memory_pipeline.hh.

References _name.

Member Data Documentation

◆ _name

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

Definition at line 89 of file local_memory_pipeline.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& gem5::LocalMemPipeline::computeUnit
private

Definition at line 88 of file local_memory_pipeline.hh.

Referenced by exec().

◆ lmIssuedRequests

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

Definition at line 94 of file local_memory_pipeline.hh.

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

◆ lmQueueSize

int gem5::LocalMemPipeline::lmQueueSize
private

Definition at line 90 of file local_memory_pipeline.hh.

Referenced by exec(), isLMReqFIFOWrRdy(), and isLMRespFIFOWrRdy().

◆ lmReturnedRequests

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

Definition at line 98 of file local_memory_pipeline.hh.

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

◆ stats

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

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

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