SWDEV-538600 - Fix error code checks in some tests (#305)

[ROCm/hip-tests commit: b215381bbe]
This commit is contained in:
Manocha, Rahul
2025-06-19 08:41:54 -07:00
committed by GitHub
parent 976d0574cf
commit 91a6727ea6
10 changed files with 17 additions and 68 deletions
@@ -387,12 +387,6 @@ TEST_CASE("Unit_hipPointerGetAttributes_Negative") {
HIP_CHECK(hipFree(dPtr));
}
#endif
SECTION("Invalid Device Pointer") {
hipPointerAttribute_t attributes{};
HIP_CHECK_ERROR(hipPointerGetAttributes(&attributes, nullptr),
hipErrorInvalidValue);
}
}
/**