fix: Restore wait for inOrder counter in heapless mode

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2025-02-17 13:21:57 +00:00
committed by Compute-Runtime-Automation
parent 9e8c8108fa
commit 84eaca3330

View File

@@ -2788,7 +2788,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendWaitOnEvents(uint32_t nu
continue;
}
if (event->isCounterBased() && (!event->hasInOrderTimestampNode() || this->asMutable())) {
if (event->isCounterBased() && (this->heaplessModeEnabled || !event->hasInOrderTimestampNode() || this->asMutable())) {
// 1. Regular CmdList adds submission counter to base value on each Execute
// 2. Immediate CmdList takes current value (with submission counter)
auto waitValue = !isImmediateType() ? event->getInOrderExecBaseSignalValue() : event->getInOrderExecSignalValueWithSubmissionCounter();