mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
8d1e83208b
commit
ba85f7417d
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user