mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Simplify DRM allocation constructors.
Change-Id: I2c477ce85f4748f0637451a405f7949aa829ba81
This commit is contained in:
committed by
sys_ocldev
parent
cac558b0a9
commit
a1d4c07f45
@@ -707,6 +707,7 @@ TEST_F(DrmMemoryManagerTest, GivenPointerAndSizeWhenAskedToCreateGrahicsAllocati
|
||||
|
||||
auto allocation = memoryManager->createGraphicsAllocation(handleStorage, size, ptr);
|
||||
|
||||
EXPECT_EQ(reinterpret_cast<void *>(allocation->getGpuAddress()), ptr);
|
||||
EXPECT_EQ(ptr, allocation->getUnderlyingBuffer());
|
||||
EXPECT_EQ(size, allocation->getUnderlyingBufferSize());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user