SWDEV-1 - Add missing checks in hipMemsetNegative.cc

This commit is contained in:
Maneesh Gupta
2022-10-11 09:14:00 +05:30
committed by GitHub
parent 1d0cb68cd9
commit 777ed57e6d
+1 -1
View File
@@ -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") {