diff --git a/projects/hip/tests/catch/unit/memory/hipMallocManaged_MultiScenario.cc b/projects/hip/tests/catch/unit/memory/hipMallocManaged_MultiScenario.cc index 976a4397fc..971d6cf8c6 100644 --- a/projects/hip/tests/catch/unit/memory/hipMallocManaged_MultiScenario.cc +++ b/projects/hip/tests/catch/unit/memory/hipMallocManaged_MultiScenario.cc @@ -293,11 +293,6 @@ TEST_CASE("Unit_hipMallocManaged_Negative") { HIP_CHECK_ERROR(hipMallocManaged(&A, 1024, hipMemAttachGlobal | hipMemAttachHost), hipErrorInvalidValue); } - - SECTION("Max value to size") { - HIP_CHECK_ERROR(hipMallocManaged(&A, std::numeric_limits::max(), hipMemAttachGlobal), - hipErrorOutOfMemory); - } } // Allocate two pointers using hipMallocManaged(), initialize,