SWDEV-398980 - Fix Unit_hipMemcpyPeer_Positive_Synchronization_Behavior (#335)

Change-Id: I8ed51134a351f5303c10c9cfad8485e1493bec4d

[ROCm/hip-tests commit: 1ab7f46fda]
이 커밋은 다음에 포함됨:
ROCm CI Service Account
2023-06-29 09:04:53 +05:30
커밋한 사람 GitHub
부모 455aa631a9
커밋 726c83a48b
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
-2
파일 보기
@@ -63,8 +63,6 @@
"Unit_hipMemcpyWithStream_MultiThread",
"SWDEV-398977 fails in stress tests",
"Unit_hipMemset2DSync",
"SWDEV-398980 fails in Stress test",
"Unit_hipMemcpyPeer_Positive_Synchronization_Behavior",
"SWDEV-398981 fails in stress test",
"Unit_hipStreamCreateWithPriority_MulthreadDefaultflag",
"=== Below tests fail in stress test on 23/06/23 ===",
+1
파일 보기
@@ -125,6 +125,7 @@ TEST_CASE("Unit_hipMemcpyPeer_Positive_Synchronization_Behavior") {
LinearAllocGuard<int> src_alloc(LinearAllocs::hipMalloc, kPageSize);
HIP_CHECK(hipSetDevice(dst_device));
LinearAllocGuard<int> dst_alloc(LinearAllocs::hipMalloc, kPageSize);
LaunchDelayKernel(std::chrono::milliseconds{100}, nullptr);
HIP_CHECK(hipSetDevice(src_device));
LaunchDelayKernel(std::chrono::milliseconds{100}, nullptr);