Program pipe_control->tlb_invalidate under debug flag

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2020-11-24 10:46:57 +00:00
committed by Compute-Runtime-Automation
parent 53b1dded2f
commit 7ce2f0db38
3 changed files with 4 additions and 0 deletions

View File

@@ -244,6 +244,7 @@ void MemorySynchronizationCommands<GfxFamily>::setPipeControl(typename GfxFamily
pipeControl.setVfCacheInvalidationEnable(true);
pipeControl.setConstantCacheInvalidationEnable(true);
pipeControl.setStateCacheInvalidationEnable(true);
pipeControl.setTlbInvalidate(true);
}
if (DebugManager.flags.DoNotFlushCaches.get()) {
pipeControl.setDcFlushEnable(false);