SWDEV-1 - Add missing checks in hipMemcpyAllApiNegative.cc
[ROCm/hip commit: 3d349720b7]
이 커밋은 다음에 포함됨:
1 부모
3f2a773a4a
커밋
e83a400290
1 파일이 변경됨
+2
-2
@@ -150,7 +150,7 @@ TEST_CASE("Unit_hipMemcpy_NullCheck") {
|
||||
&A_h, &B_h, &C_h,
|
||||
NUM_ELM*sizeof(float));
|
||||
hipStream_t stream;
|
||||
hipStreamCreate(&stream);
|
||||
HIP_CHECK(hipStreamCreate(&stream));
|
||||
HIP_CHECK(hipMemcpy(A_d, C_h,
|
||||
NUM_ELM*sizeof(float),
|
||||
hipMemcpyHostToDevice));
|
||||
@@ -240,7 +240,7 @@ TEST_CASE("Unit_hipMemcpy_HalfMemCopy") {
|
||||
&A_h, &B_h, &C_h,
|
||||
NUM_ELM*sizeof(float));
|
||||
hipStream_t stream;
|
||||
hipStreamCreate(&stream);
|
||||
HIP_CHECK(hipStreamCreate(&stream));
|
||||
|
||||
SECTION("hipMemcpyHtoD half memory copy") {
|
||||
HIP_CHECK(hipMemcpyHtoD(hipDeviceptr_t(A_d), A_h,
|
||||
|
||||
새 이슈에서 참조
사용자 차단