32#ifndef __REGISTER_MANAGER_POLICY_HH__
33#define __REGISTER_MANAGER_POLICY_HH__
73 int scalarDemand) = 0;
Register Manager Policy abstract class.
virtual int mapSgpr(Wavefront *w, int sgprIndex)=0
virtual bool canAllocateSgprs(int simdId, int nWfs, int demandPerWf)=0
virtual void setParent(ComputeUnit *_cu)
virtual bool canAllocateVgprs(int simdId, int nWfs, int demandPerWf)=0
virtual int mapVgpr(Wavefront *w, int vgprIndex)=0
virtual void allocateRegisters(Wavefront *w, int vectorDemand, int scalarDemand)=0
virtual void freeRegisters(Wavefront *w)=0
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.