refactor: remove not needed code

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-11-28 14:49:14 +00:00
committed by Compute-Runtime-Automation
parent c3794795ec
commit 2039b1c41b
8 changed files with 4 additions and 130 deletions

View File

@@ -128,11 +128,6 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
storageInfo.colouringPolicy = colouringPolicy;
storageInfo.colouringGranularity = granularity;
}
if (properties.flags.readOnlyMultiStorage) {
storageInfo.readOnlyMultiStorage = true;
storageInfo.cloningOfPageTables = false;
storageInfo.tileInstanced = true;
}
if (!releaseHelper || releaseHelper->isLocalOnlyAllowed()) {
storageInfo.localOnlyRequired = true;
}
@@ -222,7 +217,6 @@ DeviceBitfield MemoryManager::computeStorageInfoMemoryBanks(const AllocationProp
memoryBanks = (forcedMultiStoragePlacement == -1 ? allBanks : forcedMultiStoragePlacement);
}
memoryBanks = (properties.flags.readOnlyMultiStorage ? allBanks : memoryBanks);
break;
}
case AllocationType::unifiedSharedMemory:

View File

@@ -28,7 +28,6 @@ struct StorageInfo {
bool cloningOfPageTables = true;
bool tileInstanced = false;
bool multiStorage = false;
bool readOnlyMultiStorage = false;
bool cpuVisibleSegment = false;
bool isLockable = false;
bool localOnlyRequired = false;