SWDEV-456702 Fix Unit_hipMemcpyParam2D_Positive_Synchronization_Behavior

- Device to device copies are async

Change-Id: I9673710adf00e5f5b36739284090df22a1cb2cd8


[ROCm/hip-tests commit: a9b0e656e2]
This commit is contained in:
Marko Arandjelovic
2024-04-15 16:42:22 +02:00
کامیت شده توسط Rakesh Roy
والد 37b1ec0333
کامیت 5d08eb6217
@@ -67,11 +67,7 @@ TEST_CASE("Unit_hipMemcpyParam2D_Positive_Synchronization_Behavior") {
#endif #endif
SECTION("Device to Device") { SECTION("Device to Device") {
#if HT_NVIDIA
Memcpy2DDtoDSyncBehavior(MemcpyParam2DAdapter<>(), false); Memcpy2DDtoDSyncBehavior(MemcpyParam2DAdapter<>(), false);
#else
Memcpy2DDtoDSyncBehavior(MemcpyParam2DAdapter<>(), true);
#endif
} }
#if HT_NVIDIA // Disabled on AMD due to defect - EXSWHTEC-232 #if HT_NVIDIA // Disabled on AMD due to defect - EXSWHTEC-232
@@ -196,4 +192,4 @@ TEST_CASE("Unit_hipMemcpyParam2D_Negative_Parameters") {
NegativeTests(dst_alloc.ptr(), dst_alloc.pitch(), src_alloc.ptr(), src_alloc.pitch(), NegativeTests(dst_alloc.ptr(), dst_alloc.pitch(), src_alloc.ptr(), src_alloc.pitch(),
dst_alloc.width(), dst_alloc.height(), hipMemcpyDeviceToDevice); dst_alloc.width(), dst_alloc.height(), hipMemcpyDeviceToDevice);
} }
} }