Lines Matching defs:curWave
97 ScoreboardCheckStage::collectStatistics(Wavefront *curWave, int unitId)
99 if (curWave->instructionBuffer.empty())
105 curWave->isOldestInstALU();
110 if ((curWave->isOldestInstGMem() || curWave->isOldestInstPrivMem() ||
111 curWave->isOldestInstFlatMem()) && lastGlbMemSimd != unitId &&
121 if (curWave->isOldestInstLMem() && (*shrMemInstAvail <= numShrMemPipes) &&
144 Wavefront *curWave = waveStatusList[unitId]->at(wvId).first;
145 collectStatistics(curWave, unitId);
147 if (curWave->ready(Wavefront::I_ALU)) {
148 readyList[unitId]->push_back(curWave);
150 } else if (curWave->ready(Wavefront::I_GLOBAL)) {
155 readyList[computeUnit->GlbMemUnitId()]->push_back(curWave);
157 } else if (curWave->ready(Wavefront::I_SHARED)) {
158 readyList[computeUnit->ShrMemUnitId()]->push_back(curWave);
160 } else if (curWave->ready(Wavefront::I_FLAT)) {
161 readyList[computeUnit->GlbMemUnitId()]->push_back(curWave);
163 } else if (curWave->ready(Wavefront::I_PRIVATE)) {
164 readyList[computeUnit->GlbMemUnitId()]->push_back(curWave);