diff --git a/catch/hipTestMain/config/config_amd_linux_common.json b/catch/hipTestMain/config/config_amd_linux_common.json index a360f7fb16..1a7f2056c7 100644 --- a/catch/hipTestMain/config/config_amd_linux_common.json +++ b/catch/hipTestMain/config/config_amd_linux_common.json @@ -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 ===", diff --git a/catch/unit/memory/hipMemcpyPeer.cc b/catch/unit/memory/hipMemcpyPeer.cc index 95698b63df..c04a84c027 100644 --- a/catch/unit/memory/hipMemcpyPeer.cc +++ b/catch/unit/memory/hipMemcpyPeer.cc @@ -125,6 +125,7 @@ TEST_CASE("Unit_hipMemcpyPeer_Positive_Synchronization_Behavior") { LinearAllocGuard src_alloc(LinearAllocs::hipMalloc, kPageSize); HIP_CHECK(hipSetDevice(dst_device)); LinearAllocGuard dst_alloc(LinearAllocs::hipMalloc, kPageSize); + LaunchDelayKernel(std::chrono::milliseconds{100}, nullptr); HIP_CHECK(hipSetDevice(src_device)); LaunchDelayKernel(std::chrono::milliseconds{100}, nullptr);