gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
LocalMemPipeline Class Reference

#include <local_memory_pipeline.hh>

Public Member Functions

 LocalMemPipeline (const ComputeUnitParams *params)
 
void init (ComputeUnit *cu)
 
void exec ()
 
std::queue< GPUDynInstPtr > & getLMReqFIFO ()
 
std::queue< GPUDynInstPtr > & getLMRespFIFO ()
 
bool isLMRespFIFOWrRdy () const
 
bool isLMReqFIFOWrRdy (uint32_t pendReqs=0) const
 
const std::string & name () const
 
void regStats ()
 
void incLoadVRFBankConflictCycles (int num_cycles)
 

Private Attributes

ComputeUnitcomputeUnit
 
std::string _name
 
int lmQueueSize
 
Stats::Scalar loadVrfBankConflictCycles
 
std::queue< GPUDynInstPtrlmIssuedRequests
 
std::queue< GPUDynInstPtrlmReturnedRequests
 

Detailed Description

Definition at line 57 of file local_memory_pipeline.hh.

Constructor & Destructor Documentation

LocalMemPipeline::LocalMemPipeline ( const ComputeUnitParams *  params)

Definition at line 45 of file local_memory_pipeline.cc.

Member Function Documentation

void LocalMemPipeline::exec ( )
std::queue<GPUDynInstPtr>& LocalMemPipeline::getLMReqFIFO ( )
inline
std::queue<GPUDynInstPtr>& LocalMemPipeline::getLMRespFIFO ( )
inline

Definition at line 65 of file local_memory_pipeline.hh.

References lmReturnedRequests.

void LocalMemPipeline::incLoadVRFBankConflictCycles ( int  num_cycles)
inline

Definition at line 83 of file local_memory_pipeline.hh.

References loadVrfBankConflictCycles.

void LocalMemPipeline::init ( ComputeUnit cu)

Definition at line 51 of file local_memory_pipeline.cc.

References _name, computeUnit, and SimObject::name().

Referenced by ComputeUnit::init().

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

Definition at line 74 of file local_memory_pipeline.hh.

References lmIssuedRequests, and lmQueueSize.

Referenced by ComputeUnit::isDone().

bool LocalMemPipeline::isLMRespFIFOWrRdy ( ) const
inline

Definition at line 68 of file local_memory_pipeline.hh.

References lmQueueSize, and lmReturnedRequests.

Referenced by ComputeUnit::isDone().

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

Definition at line 79 of file local_memory_pipeline.hh.

References _name.

Referenced by regStats().

void LocalMemPipeline::regStats ( )

Member Data Documentation

std::string LocalMemPipeline::_name
private

Definition at line 90 of file local_memory_pipeline.hh.

Referenced by init(), and name().

ComputeUnit* LocalMemPipeline::computeUnit
private

Definition at line 89 of file local_memory_pipeline.hh.

Referenced by exec(), and init().

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

Definition at line 95 of file local_memory_pipeline.hh.

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

int LocalMemPipeline::lmQueueSize
private

Definition at line 91 of file local_memory_pipeline.hh.

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

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

Definition at line 99 of file local_memory_pipeline.hh.

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

Stats::Scalar LocalMemPipeline::loadVrfBankConflictCycles
private

Definition at line 92 of file local_memory_pipeline.hh.

Referenced by incLoadVRFBankConflictCycles(), and regStats().


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

Generated on Fri Jun 9 2017 13:04:14 for gem5 by doxygen 1.8.6