diff --git a/src/gpu-compute/global_memory_pipeline.cc b/src/gpu-compute/global_memory_pipeline.cc index 48f767b567..2f251e864f 100644 --- a/src/gpu-compute/global_memory_pipeline.cc +++ b/src/gpu-compute/global_memory_pipeline.cc @@ -130,7 +130,7 @@ GlobalMemPipeline::exec() DPRINTF(GPUMem, "CU%d: WF[%d][%d]: Completing global mem instr %s\n", m->cu_id, m->simdId, m->wfSlotId, m->disassemble()); m->completeAcc(m); - if (m->isFlat() && (m->isLoad() || m->isAtomicRet())) { + if (m->isFlat()) { w->decLGKMInstsIssued(); } w->decVMemInstsIssued(); @@ -196,10 +196,6 @@ GlobalMemPipeline::exec() mp->disassemble(), mp->seqNum()); mp->initiateAcc(mp); - if (mp->isFlat() && mp->isStore()) { - mp->wavefront()->decLGKMInstsIssued(); - } - if (mp->isStore() && mp->isGlobalSeg()) { mp->wavefront()->decExpInstsIssued(); }