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