From d7f38ca8e5ee4d4d065df7228d45abff5ab40ecc Mon Sep 17 00:00:00 2001 From: Maciej Dziuban Date: Mon, 24 May 2021 13:45:06 +0000 Subject: [PATCH] Remove unneeded asserts Signed-off-by: Maciej Dziuban --- .../drm_memory_manager_allocate_in_device_pool_tests_dg1.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/opencl/test/unit_test/os_interface/linux/drm_memory_manager_allocate_in_device_pool_tests_dg1.cpp b/opencl/test/unit_test/os_interface/linux/drm_memory_manager_allocate_in_device_pool_tests_dg1.cpp index dd1bfc6856..7c7640cbc9 100644 --- a/opencl/test/unit_test/os_interface/linux/drm_memory_manager_allocate_in_device_pool_tests_dg1.cpp +++ b/opencl/test/unit_test/os_interface/linux/drm_memory_manager_allocate_in_device_pool_tests_dg1.cpp @@ -1089,7 +1089,6 @@ TEST_F(DrmMemoryManagerLocalMemoryTest, givenCustomAlignmentWhenAllocatingAlloca ASSERT_NE(nullptr, allocation); EXPECT_EQ(MemoryManager::AllocationStatus::Success, allocationStatus); EXPECT_TRUE(isAllocationWithinHeap(*allocation, HeapIndex::HEAP_STANDARD64KB)); - EXPECT_FALSE(isAligned(allocation->getGpuAddress(), 32 * MemoryConstants::megaByte)); memoryManager->freeGraphicsMemory(allocation); } @@ -1101,7 +1100,6 @@ TEST_F(DrmMemoryManagerLocalMemoryTest, givenCustomAlignmentWhenAllocatingAlloca ASSERT_NE(nullptr, allocation); EXPECT_EQ(MemoryManager::AllocationStatus::Success, allocationStatus); EXPECT_TRUE(isAllocationWithinHeap(*allocation, HeapIndex::HEAP_STANDARD2MB)); - EXPECT_FALSE(isAligned(allocation->getGpuAddress(), 32 * MemoryConstants::megaByte)); memoryManager->freeGraphicsMemory(allocation); } }