SWDEV-1 - Add missing checks in hipMemsetNegative.cc

[ROCm/hip-tests commit: 777ed57e6d]
This commit is contained in:
Maneesh Gupta
2022-10-11 09:14:00 +05:30
committed by GitHub
parent 49dec170ce
commit 10693fa1ad
@@ -105,7 +105,7 @@ TEST_CASE("Unit_hipMemset2D_Negative_InvalidPtr") {
size_t pitch_A;
HIP_CHECK(hipMallocPitch(&A_d, &pitch_A, width, height));
testHipMemset2DApis(dst, pitch_A, memsetVal, width, height);
hipFree(A_d);
HIP_CHECK(hipFree(A_d));
}
TEST_CASE("Unit_hipMemset2D_Negative_InvalidSizes") {