SWDEV-538600 - Fix error code checks in some tests (#305)
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
6c60fcafd8
commit
b215381bbe
@@ -65,14 +65,8 @@ TEST_CASE("Unit_hipTexRefSetAddress_Positive") {
|
||||
}
|
||||
|
||||
SECTION("size is 0") {
|
||||
#if HT_AMD
|
||||
HIP_CHECK_ERROR(
|
||||
hipTexRefSetAddress(&offset, tex_ref, reinterpret_cast<hipDeviceptr_t>(tex_buffer), 0),
|
||||
hipErrorInvalidValue);
|
||||
#else
|
||||
HIP_CHECK(
|
||||
hipTexRefSetAddress(&offset, tex_ref, reinterpret_cast<hipDeviceptr_t>(tex_buffer), 0));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user