fix: Add debug toggle to disable flush L3 for host usm

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2025-05-06 16:49:26 +00:00
committed by Compute-Runtime-Automation
parent 8d1e83208b
commit ba85f7417d
4 changed files with 15 additions and 2 deletions

View File

@@ -107,6 +107,11 @@ inline void HardwareInterface<GfxFamily>::programWalker(
bool flushL3AfterPostSyncForHostUsm = kernelSystemAllocation;
bool flushL3AfterPostSyncForExternalAllocation = kernel.isUsingSharedObjArgs();
if (debugManager.flags.DisableFlushL3ForHostUsm.get() && flushL3AfterPostSyncForHostUsm) {
flushL3AfterPostSyncForHostUsm = false;
flushL3AfterPostSyncForExternalAllocation = true;
}
GpgpuWalkerHelper<GfxFamily>::template setupTimestampPacketFlushL3<WalkerType>(&walkerCmd, productHelper, flushL3AfterPostSyncForHostUsm, flushL3AfterPostSyncForExternalAllocation);
}
}