diff --git a/projects/hip-tests/catch/unit/memory/hipMemcpyAsync.cc b/projects/hip-tests/catch/unit/memory/hipMemcpyAsync.cc index cd88356408..a57449e84f 100644 --- a/projects/hip-tests/catch/unit/memory/hipMemcpyAsync.cc +++ b/projects/hip-tests/catch/unit/memory/hipMemcpyAsync.cc @@ -34,22 +34,13 @@ TEST_CASE("Unit_hipMemcpyAsync_Positive_Basic") { MemcpyWithDirectionCommonTests(std::bind(hipMemcpyAsync, _1, _2, _3, _4, stream)); } - TEST_CASE("Unit_hipMemcpyAsync_Positive_Synchronization_Behavior") { using namespace std::placeholders; HIP_CHECK(hipDeviceSynchronize()); SECTION("Host memory to device memory") { - // This behavior differs on NVIDIA and AMD, on AMD the hipMemcpy calls is synchronous with - // respect to the host -#if HT_AMD - HipTest::HIP_SKIP_TEST( - "EXSWCPHIPT-127 - MemcpyAsync from host to device memory behavior differs on AMD and " - "Nvidia"); - return; -#endif MemcpyHtoDSyncBehavior(std::bind(hipMemcpyAsync, _1, _2, _3, hipMemcpyHostToDevice, nullptr), - false); + true); } SECTION("Device memory to pageable host memory") { @@ -67,6 +58,11 @@ TEST_CASE("Unit_hipMemcpyAsync_Positive_Synchronization_Behavior") { false); } + SECTION("Device memory to device Memory No CU") { + MemcpyDtoDSyncBehavior(std::bind(hipMemcpyAsync, _1, _2, _3, hipMemcpyDeviceToDeviceNoCU, + nullptr),false); + } + SECTION("Host memory to host memory") { MemcpyHtoHSyncBehavior(std::bind(hipMemcpyAsync, _1, _2, _3, hipMemcpyHostToHost, nullptr), true);