gem5  v21.1.0.2
Classes | Public Member Functions | Protected Attributes | Private Attributes | List of all members
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 59 of file local_memory_pipeline.hh.

Constructor & Destructor Documentation

◆ LocalMemPipeline()

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

Definition at line 47 of file local_memory_pipeline.cc.

Member Function Documentation

◆ exec()

void gem5::LocalMemPipeline::exec ( )

◆ getLMRespFIFO()

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

Definition at line 64 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 76 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 70 of file local_memory_pipeline.hh.

References lmQueueSize, and lmReturnedRequests.

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

◆ issueRequest()

void gem5::LocalMemPipeline::issueRequest ( GPUDynInstPtr  gpuDynInst)

◆ name()

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

Definition at line 81 of file local_memory_pipeline.hh.

References _name.

Member Data Documentation

◆ _name

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

Definition at line 91 of file local_memory_pipeline.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& gem5::LocalMemPipeline::computeUnit
private

Definition at line 90 of file local_memory_pipeline.hh.

Referenced by exec().

◆ lmIssuedRequests

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

Definition at line 96 of file local_memory_pipeline.hh.

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

◆ lmQueueSize

int gem5::LocalMemPipeline::lmQueueSize
private

Definition at line 92 of file local_memory_pipeline.hh.

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

◆ lmReturnedRequests

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

Definition at line 100 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 Sep 21 2021 12:27:45 for gem5 by doxygen 1.8.17