SWDEV-398980 - Fix Unit_hipMemcpyPeer_Positive_Synchronization_Behavior (#335)

Change-Id: I8ed51134a351f5303c10c9cfad8485e1493bec4d

[ROCm/hip-tests commit: 1ab7f46fda]
This commit is contained in:
ROCm CI Service Account
2023-06-29 09:04:53 +05:30
zatwierdzone przez GitHub
rodzic 455aa631a9
commit 726c83a48b
2 zmienionych plików z 1 dodań i 2 usunięć
@@ -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 ===",
@@ -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);