SWDEV-538600 - Fix error code checks in some tests (#305)
[ROCm/hip-tests commit: b215381bbe]
这个提交包含在:
1 父节点
976d0574cf
当前提交
91a6727ea6
10 个文件已更改
+17
-68
没有与搜索条件相匹配的文件
@@ -80,11 +80,7 @@ TEST_CASE("Unit_hipGetTextureAlignmentOffset_Negative") {
|
||||
}
|
||||
|
||||
SECTION("texture is nullptr") {
|
||||
#if HT_AMD
|
||||
HIP_CHECK_ERROR(hipGetTextureAlignmentOffset(&offset, nullptr), hipErrorInvalidValue);
|
||||
#else
|
||||
HIP_CHECK_ERROR(hipGetTextureAlignmentOffset(&offset, nullptr), hipErrorInvalidTexture);
|
||||
#endif
|
||||
HIP_CHECK_ERROR(hipGetTextureAlignmentOffset(&offset, nullptr), hipErrorInvalidTexture);
|
||||
}
|
||||
|
||||
HIP_CHECK(hipFree(tex_buf));
|
||||
|
||||
在新工单中引用
屏蔽一个用户