Fix merge issues in memory unit tests (#123)

This commit is contained in:
Maneesh Gupta
2023-01-17 21:54:27 +05:30
committed by GitHub
parent 8ae538a341
commit 75bb521e18
6 changed files with 7 additions and 106 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ TEST_CASE("Unit_hipMemGetAddressRange_Negative") {
const int offset = kPageSize;
LinearAllocGuard<int> host_alloc(LinearAllocs::hipHostMalloc, allocation_size);
hipDeviceptr_t dummy_ptr;
hipDeviceptr_t dummy_ptr = NULL;
SECTION("Device pointer is invalid") {
HIP_CHECK_ERROR(hipMemGetAddressRange(&base_ptr, &mem_size, dummy_ptr), hipErrorNotFound);