Create KMD-migrated unified shared memory with multiple local memory regions

Remove the restriction on USM allocation created in a single local memory region
with latest KMD fix for cross tile migration thrashing b/t lmem (dii-3516)

Related-To: NEO-6909

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2022-06-20 12:59:05 +00:00
committed by Compute-Runtime-Automation
parent ed9c2d074a
commit 6a9fcd38b1
4 changed files with 8 additions and 15 deletions

View File

@@ -150,9 +150,6 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
}
case AllocationType::UNIFIED_SHARED_MEMORY:
storageInfo.memoryBanks = allTilesValue;
if (DebugManager.flags.UseKmdMigration.get() != -1) {
storageInfo.memoryBanks = preferredTile;
}
if (DebugManager.flags.OverrideMultiStoragePlacement.get() != -1) {
storageInfo.memoryBanks = DebugManager.flags.OverrideMultiStoragePlacement.get();
}