mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Replace cpuPtrAllocated flag with driverAllocatedCpuPointer.
Change-Id: Ic0ce165d0e583701e1128595a3d9dabd0a61a84b
This commit is contained in:
committed by
sys_ocldev
parent
7ece16ee7a
commit
200228b506
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user