SWDEV-538600 - Fix error code checks in some tests (#305)
[ROCm/hip-tests commit: b215381bbe]
This commit is contained in:
gecommit door
GitHub
bovenliggende
976d0574cf
commit
91a6727ea6
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Verwijs in nieuw issue
Block a user