Go to the documentation of this file.
34 #ifndef __REGISTER_MANAGER_HH__
35 #define __REGISTER_MANAGER_HH__
51 struct RegisterManagerParams;
89 #endif // __REGISTER_MANAGER_HH__
bool canAllocateVgprs(int simdId, int nWfs, int demandPerWf)
void allocateRegisters(Wavefront *w, int vectorDemand, int scalarDemand)
int mapSgpr(Wavefront *w, int sgprIndex)
ComputeUnit * computeUnit
Register Manager Policy abstract class.
std::vector< PoolManager * > vrfPoolMgrs
RegisterManager(const RegisterManagerParams ¶ms)
std::vector< PoolManager * > srfPoolMgrs
RegisterManagerPolicy * policy
bool canAllocateSgprs(int simdId, int nWfs, int demandPerWf)
int mapVgpr(Wavefront *w, int vgprIndex)
void setParent(ComputeUnit *cu)
const Params & params() const
void freeRegisters(Wavefront *w)
Abstract superclass for simulation objects.
Generated on Tue Jun 22 2021 15:28:28 for gem5 by doxygen 1.8.17