fix: Modify kernelWithAssert flag handling

Reset kernelWithAssertAppended flag only upon
synchronization for immediate command list

Related-To: NEO-14997

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
Bellekallu Rajkiran
2025-09-22 15:51:41 +00:00
committed by Compute-Runtime-Automation
parent edf6f2e299
commit 9e16ef4de5
2 changed files with 36 additions and 2 deletions

View File

@@ -538,7 +538,6 @@ inline ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::executeCommand
status = hostSynchronize(std::numeric_limits<uint64_t>::max(), true);
}
}
this->kernelWithAssertAppended = false;
return status;
}
@@ -1255,6 +1254,7 @@ ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::hostSynchronize(uint6
cmdQueueImp->checkAssert();
}
}
this->kernelWithAssertAppended = false;
}
return status;