Replace cpuPtrAllocated flag with driverAllocatedCpuPointer.

Change-Id: Ic0ce165d0e583701e1128595a3d9dabd0a61a84b
This commit is contained in:
Mrozek, Michal
2018-10-30 14:44:41 +01:00
committed by sys_ocldev
parent 7ece16ee7a
commit 200228b506
7 changed files with 22 additions and 35 deletions

View File

@@ -1454,6 +1454,6 @@ TEST(Heap32AllocationTests, givenDebugModeWhenMallocIsUsedToCreateAllocationWhen
EXPECT_NE(0x0ul, internalBase);
auto allocation = static_cast<MemoryAllocation *>(memoryManager.allocate32BitGraphicsMemory(4096u, nullptr, AllocationOrigin::EXTERNAL_ALLOCATION));
EXPECT_FALSE(allocation->cpuPtrAllocated);
EXPECT_EQ(nullptr, allocation->driverAllocatedCpuPointer);
memoryManager.freeGraphicsMemory(allocation);
}