Matthew Poremba has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/47104 )
Change subject: arch-vega: Update instruction stats
......................................................................
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
---
M src/arch/amdgpu/vega/insts/instructions.cc
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/arch/amdgpu/vega/insts/instructions.cc
b/src/arch/amdgpu/vega/insts/instructions.cc
index cdf3c68..ef3023d 100644
--- a/src/arch/amdgpu/vega/insts/instructions.cc
+++ b/src/arch/amdgpu/vega/insts/instructions.cc
@@ -4166,7 +4166,7 @@
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 "
@@ -4177,7 +4177,7 @@
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();
@@ -4216,7 +4216,7 @@
if (!kernelEnd) {
wf->computeUnit->shader->dispatcher().notifyWgCompl(wf);
wf->setStatus(Wavefront::S_STOPPED);
- wf->computeUnit->completedWGs++;
+ wf->computeUnit->stats.completedWGs++;
return;
}
@@ -4243,7 +4243,7 @@
// 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();
}
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/47104
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I49348e30bc0988a2a873f51bd7079c1f315649b4
Gerrit-Change-Number: 47104
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew Poremba <matthew.pore...@amd.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s