fix: add missing residency management in heapless mode

Related-To: NEO-7824

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-05-06 10:14:48 +00:00
committed by Compute-Runtime-Automation
parent 6bcf3eb41d
commit 0a59a26a2c
2 changed files with 32 additions and 0 deletions

View File

@@ -156,6 +156,15 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandListsRegularHeapless(
return ret;
}
this->getGlobalFenceAndMakeItResident();
this->getWorkPartitionAndMakeItResident();
this->getGlobalStatelessHeapAndMakeItResident(ctx);
this->makePreemptionAllocationResidentForModeMidThread(ctx.isDevicePreemptionModeMidThread);
this->makeSipIsaResidentIfSipKernelUsed(ctx);
this->makeDebugSurfaceResidentIfNEODebuggerActive(ctx.isNEODebuggerActive(this->device));
this->makeRayTracingBufferResident(neoDevice->getRTMemoryBackedBuffer());
this->makeSbaTrackingBufferResidentIfL0DebuggerEnabled(ctx.isDebugEnabled);
this->makeCsrTagAllocationResident();
if (instructionCacheFlushRequired) {