mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: redirect flush L3 host usm to external by default
Related-To: NEO-13163 Rename ForceL3FlushAfterPostSync to EnableL3FlushAfterPostSync Rename DisableFlushL3ForHostUsm to RedirectFlushL3HostUsmToExternal Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4d26759d69
commit
b7681a2e7b
@@ -107,7 +107,7 @@ inline void HardwareInterface<GfxFamily>::programWalker(
|
||||
bool flushL3AfterPostSyncForHostUsm = kernelSystemAllocation || kernel.isAnyKernelArgumentUsingZeroCopyMemory();
|
||||
bool flushL3AfterPostSyncForExternalAllocation = kernel.isUsingSharedObjArgs();
|
||||
|
||||
if (debugManager.flags.DisableFlushL3ForHostUsm.get() && flushL3AfterPostSyncForHostUsm) {
|
||||
if (debugManager.flags.RedirectFlushL3HostUsmToExternal.get() && flushL3AfterPostSyncForHostUsm) {
|
||||
flushL3AfterPostSyncForHostUsm = false;
|
||||
flushL3AfterPostSyncForExternalAllocation = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user