Obtain storage info internally, in allocateGraphicsMemoryInPreferredPool

Related-To: NEO-2860

Change-Id: Id7acb10793f3145238f6b930b4c64c20c87a1021
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2019-04-04 07:49:33 +02:00
committed by sys_ocldev
parent 387fdc5682
commit 6e7f82c315
6 changed files with 12 additions and 12 deletions

View File

@@ -490,7 +490,7 @@ HWTEST_F(AubCommandStreamReceiverNoHostPtrTests, givenAubCommandStreamReceiverWh
AllocationProperties allocProperties = MemObjHelper::getAllocationProperties(&imgInfo, true);
auto imageAllocation = memoryManager->allocateGraphicsMemoryInPreferredPool(allocProperties, {}, nullptr);
auto imageAllocation = memoryManager->allocateGraphicsMemoryInPreferredPool(allocProperties, nullptr);
ASSERT_NE(nullptr, imageAllocation);
EXPECT_TRUE(aubCsr->writeMemory(*imageAllocation));