mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
test: resolve unsafe type conversion
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e1eae6a3e5
commit
316ef0ac74
@@ -5889,7 +5889,7 @@ HWTEST_TEMPLATED_F(DrmMemoryManagerWithLocalMemoryTest, Given2MBLocalMemAlignmen
|
||||
mock->ioctlExpected.gemClose = 1;
|
||||
|
||||
AllocationData allocationData;
|
||||
allocationData.size = 2.5 * MemoryConstants::megaByte;
|
||||
allocationData.size = 2 * MemoryConstants::megaByte + 512 * MemoryConstants::kiloByte;
|
||||
allocationData.alignment = MemoryConstants::pageSize64k;
|
||||
allocationData.type = AllocationType::svmCpu;
|
||||
allocationData.rootDeviceIndex = rootDeviceIndex;
|
||||
|
||||
Reference in New Issue
Block a user