@@ -31,16 +31,6 @@ TEST_CASE("Unit_hipMemcpy_Positive_Synchronization_Behavior") {
3131 using namespace std ::placeholders;
3232 HIP_CHECK (hipDeviceSynchronize ());
3333
34- // For transfers from pageable host memory to device memory, a stream sync is performed before
35- // the copy is initiated. The function will return once the pageable buffer has been copied to
36- // the staging memory for DMA transfer to device memory, but the DMA to final destination may
37- // not have completed.
38- // For transfers from pinned host memory to device memory, the function is synchronous with
39- // respect to the host
40- SECTION (" Host memory to device memory" ) {
41- MemcpyHPageabletoDSyncBehavior (std::bind (hipMemcpy, _1, _2, _3, hipMemcpyHostToDevice), true );
42- }
43-
4434 // For transfers from device to either pageable or pinned host memory, the function returns only
4535 // once the copy has completed
4636 SECTION (" Device memory to host memory" ) {
@@ -51,13 +41,6 @@ TEST_CASE("Unit_hipMemcpy_Positive_Synchronization_Behavior") {
5141
5242 // For transfers from device memory to device memory, no host-side synchronization is performed.
5343 SECTION (" Device memory to device memory" ) {
54- // This behavior differs on NVIDIA and AMD, on AMD the hipMemcpy calls is synchronous with
55- // respect to the host
56- #if HT_AMD
57- HipTest::HIP_SKIP_TEST (
58- " EXSWCPHIPT-127 - Memcpy from device to device memory behavior differs on AMD and Nvidia" );
59- return ;
60- #endif
6144 MemcpyDtoDSyncBehavior (std::bind (hipMemcpy, _1, _2, _3, hipMemcpyDeviceToDevice), false );
6245 }
6346
0 commit comments