SWDEV-538600 - Fix error code checks in some tests (#305)
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user