diff --git a/src/gpu-compute/global_memory_pipeline.cc b/src/gpu-compute/global_memory_pipeline.cc index 01f986c253..bcd93f8862 100644 --- a/src/gpu-compute/global_memory_pipeline.cc +++ b/src/gpu-compute/global_memory_pipeline.cc @@ -193,6 +193,10 @@ GlobalMemPipeline::exec() mp->disassemble(), mp->seqNum()); mp->initiateAcc(mp); + if (mp->isStore() && mp->isGlobalSeg()) { + mp->wavefront()->decExpInstsIssued(); + } + if (((mp->isMemSync() && !mp->isEndOfKernel()) || !mp->isMemSync())) { /** * if we are not in out-of-order data delivery mode diff --git a/src/gpu-compute/schedule_stage.cc b/src/gpu-compute/schedule_stage.cc index 851cca81b5..54e931306e 100644 --- a/src/gpu-compute/schedule_stage.cc +++ b/src/gpu-compute/schedule_stage.cc @@ -144,6 +144,9 @@ ScheduleStage::exec() wf->incLGKMInstsIssued(); } } + if (gpu_dyn_inst->isStore() && gpu_dyn_inst->isGlobalSeg()) { + wf->incExpInstsIssued(); + } } }