mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Validate host ptr on VM it will be used
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
700aecb384
commit
49cf6f79f5
@@ -34,6 +34,7 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
|
||||
}
|
||||
|
||||
StorageInfo storageInfo{preferredTile, allTilesValue};
|
||||
storageInfo.subDeviceBitfield = properties.subDevicesBitfield;
|
||||
storageInfo.isLockable = GraphicsAllocation::isLockable(properties.allocationType);
|
||||
storageInfo.cpuVisibleSegment = GraphicsAllocation::isCpuAccessRequired(properties.allocationType);
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ struct StorageInfo {
|
||||
uint32_t getNumBanks() const;
|
||||
DeviceBitfield memoryBanks;
|
||||
DeviceBitfield pageTablesVisibility;
|
||||
DeviceBitfield subDeviceBitfield;
|
||||
bool cloningOfPageTables = true;
|
||||
bool tileInstanced = false;
|
||||
bool multiStorage = false;
|
||||
|
||||
Reference in New Issue
Block a user