arch-vega: Update instruction stats
These stats were moved to a Stats::Group but the instructions were not updated to use the stats struct. Change-Id: I49348e30bc0988a2a873f51bd7079c1f315649b4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47104 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
@@ -4173,7 +4173,7 @@ namespace VegaISA
|
||||
wf->computeUnit->cu_id, wf->wgId, refCount);
|
||||
|
||||
wf->computeUnit->registerManager.freeRegisters(wf);
|
||||
wf->computeUnit->completedWfs++;
|
||||
wf->computeUnit->stats.completedWfs++;
|
||||
wf->computeUnit->activeWaves--;
|
||||
|
||||
panic_if(wf->computeUnit->activeWaves < 0, "CU[%d] Active waves less "
|
||||
@@ -4184,7 +4184,7 @@ namespace VegaISA
|
||||
|
||||
for (int i = 0; i < wf->vecReads.size(); i++) {
|
||||
if (wf->rawDist.find(i) != wf->rawDist.end()) {
|
||||
wf->readsPerWrite.sample(wf->vecReads.at(i));
|
||||
wf->stats.readsPerWrite.sample(wf->vecReads.at(i));
|
||||
}
|
||||
}
|
||||
wf->vecReads.clear();
|
||||
@@ -4226,7 +4226,7 @@ namespace VegaISA
|
||||
if (!kernelEnd || !relNeeded) {
|
||||
wf->computeUnit->shader->dispatcher().notifyWgCompl(wf);
|
||||
wf->setStatus(Wavefront::S_STOPPED);
|
||||
wf->computeUnit->completedWGs++;
|
||||
wf->computeUnit->stats.completedWGs++;
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -4254,7 +4254,7 @@ namespace VegaISA
|
||||
// call shader to prepare the flush operations
|
||||
wf->computeUnit->shader->prepareFlush(gpuDynInst);
|
||||
|
||||
wf->computeUnit->completedWGs++;
|
||||
wf->computeUnit->stats.completedWGs++;
|
||||
} else {
|
||||
wf->computeUnit->shader->dispatcher().scheduleDispatch();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user