Fix merge issues in memory unit tests (#123)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user