Pass memory placement info to StorageInfo

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-02-09 13:14:31 +00:00
committed by Compute-Runtime-Automation
parent 85eb6d7403
commit 61ca84e94b
7 changed files with 51 additions and 4 deletions

View File

@ -66,6 +66,7 @@ TEST_F(WddmMemoryManagerSimpleTest, givenShareableAllocationWhenAllocateInDevice
allocData.flags.allocateMemory = true;
allocData.flags.shareable = true;
allocData.storageInfo.memoryBanks = 2;
allocData.storageInfo.systemMemoryPlacement = false;
auto allocation = memoryManager->allocateGraphicsMemoryInDevicePool(allocData, status);
EXPECT_NE(nullptr, allocation);