diff --git a/src/arch/amdgpu/vega/insts/instructions.cc b/src/arch/amdgpu/vega/insts/instructions.cc index cf5c415ae8..96ef0318e2 100644 --- a/src/arch/amdgpu/vega/insts/instructions.cc +++ b/src/arch/amdgpu/vega/insts/instructions.cc @@ -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(); }