SWDEV-1 - Add missing checks in hipMemset2D.cc

[ROCm/hip-tests commit: b311d373d1]
这个提交包含在:
Maneesh Gupta 编写, GitHub 于 2022-10-11 09:56:00 +05:30 提交
1 父节点 f6bb5e803b
当前提交 21d2acc874
1 个文件已更改
+3 -3
@@ -78,7 +78,7 @@ TEST_CASE("Unit_hipMemset2D_BasicFunctional") {
}
}
hipFree(A_d);
HIP_CHECK(hipFree(A_d));
free(A_h);
}
@@ -120,7 +120,7 @@ TEST_CASE("Unit_hipMemset2DAsync_BasicFunctional") {
}
}
hipFree(A_d);
HIP_CHECK(hipFree(A_d));
HIP_CHECK(hipStreamDestroy(stream));
free(A_h);
}
@@ -169,7 +169,7 @@ TEST_CASE("Unit_hipMemset2D_UniqueWidthHeight") {
}
}
hipFree(A_d);
HIP_CHECK(hipFree(A_d));
free(A_h);
}