mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c3794795ec
commit
2039b1c41b
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user