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

This commit is contained in:
Manocha, Rahul authored and GitHub committed 2025-06-19 21:11:54 +05:30
1 parent 6c60fcafd8
commit b215381bbe
10 files changed
+17 -68

No files matched your search

@@ -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);
}
}
/**