mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: Restore wait for inOrder counter in heapless mode
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9e8c8108fa
commit
84eaca3330
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user