fix: fix scratch programming in heapless mode l0

Related-To: NEO-10107
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2024-01-25 09:17:03 +00:00
committed by Compute-Runtime-Automation
parent 9636c2f0d5
commit fdb5a53f85
2 changed files with 29 additions and 1 deletions

View File

@@ -115,7 +115,9 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandListsRegular(
size_t linearStreamSizeEstimate = this->estimateLinearStreamSizeInitial(ctx);
this->handleScratchSpaceAndUpdateGSBAStateDirtyFlag(ctx);
if (this->heaplessModeEnabled == false) {
this->handleScratchSpaceAndUpdateGSBAStateDirtyFlag(ctx);
}
this->setFrontEndStateProperties(ctx);
linearStreamSizeEstimate += this->estimateLinearStreamSizeComplementary(ctx, commandListHandles, numCommandLists);