SWDEV-1 - Add missing checks in hipMemset2D.cc
이 커밋은 다음에 포함됨:
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);
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단