Reduce usage of global gfx core helper getter [6/n]

Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-12-19 18:56:51 +00:00
committed by Compute-Runtime-Automation
parent 418e0f7322
commit 148ee669e6
3 changed files with 6 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ void CommandListCoreFamily<gfxCoreFamily>::applyMemoryRangesBarrier(uint32_t num
NEO::flushGpuCache<GfxFamily>(commandStream, subranges,
postSyncAddressToFlush,
hwInfo);
device->getNEODevice()->getRootDeviceEnvironment());
}
}
}