refactor: don't use global ProductHelper getter 8/n

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-01-23 17:58:31 +00:00
committed by Compute-Runtime-Automation
parent f3565d846c
commit a3212f8362
19 changed files with 58 additions and 42 deletions

View File

@@ -525,7 +525,7 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
allocationData.flags.crossRootDeviceAccess = properties.flags.crossRootDeviceAccess;
allocationData.flags.useSystemMemory |= MemoryPropertiesHelper::useSystemMemoryForCrossRootDeviceAccess(properties.flags.crossRootDeviceAccess);
helper.setExtraAllocationData(allocationData, properties, hwInfo);
helper.setExtraAllocationData(allocationData, properties, rootDeviceEnvironment);
allocationData.flags.useSystemMemory |= properties.flags.forceSystemMemory;
overrideAllocationData(allocationData, properties);