diff --git a/catch/hipTestMain/config/config_amd_linux b/catch/hipTestMain/config/config_amd_linux index 0ecd2e368b..d877358163 100644 --- a/catch/hipTestMain/config/config_amd_linux +++ b/catch/hipTestMain/config/config_amd_linux @@ -216,7 +216,6 @@ "Unit_hipLaunchCooperativeKernelMultiDevice_Negative_MultiKernelSameDevice", "Unit_hipExtLaunchMultiKernelMultiDevice_Negative_MultiKernelSameDevice", "=== Below tests are failing PSDB ===", - "Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic", "Unit_hipMemcpy3D_Positive_Synchronization_Behavior", "Unit_hipMemcpyParam2D_Positive_Synchronization_Behavior", "Unit_hipMemcpyAsync_Positive_Synchronization_Behavior", diff --git a/catch/hipTestMain/config/config_amd_windows b/catch/hipTestMain/config/config_amd_windows index d6196d6025..e984e0a678 100644 --- a/catch/hipTestMain/config/config_amd_windows +++ b/catch/hipTestMain/config/config_amd_windows @@ -358,7 +358,6 @@ "Unit_hipGetMipmappedArrayLevel_Negative", "Unit_hipFreeMipmappedArray_Negative_DoubleFree", "Unit_hipFreeMipmappedArrayMultiTArray - int", - "Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic", "Unit_hipMemcpy3D_Positive_Synchronization_Behavior", "Unit_hipMemcpyParam2D_Positive_Synchronization_Behavior", "Unit_hipMemcpyAsync_Positive_Synchronization_Behavior", diff --git a/catch/unit/graph/hipGraphExecMemcpyNodeSetParams.cc b/catch/unit/graph/hipGraphExecMemcpyNodeSetParams.cc index f22dbd68ff..9df3091a3d 100644 --- a/catch/unit/graph/hipGraphExecMemcpyNodeSetParams.cc +++ b/catch/unit/graph/hipGraphExecMemcpyNodeSetParams.cc @@ -58,15 +58,15 @@ TEST_CASE("Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic") { hipGraphNode_t node = nullptr; const auto offset_src = reinterpret_cast(src) + 1; const auto offset_dst = reinterpret_cast(dst) + 1; - auto params = - GetMemcpy3DParms(make_hipPitchedPtr(offset_dst, 0, count - 1, 0), make_hipPos(0, 0, 0), - make_hipPitchedPtr(offset_src, 0, count - 1, 0), make_hipPos(0, 0, 0), - make_hipExtent(count - 1, 1, 1), direction); + auto params = GetMemcpy3DParms( + make_hipPitchedPtr(offset_dst, count - 1, count - 1, 0), make_hipPos(0, 0, 0), + make_hipPitchedPtr(offset_src, count - 1, count - 1, 0), make_hipPos(0, 0, 0), + make_hipExtent(count - 1, 1, 1), direction); HIP_CHECK(hipGraphAddMemcpyNode(&node, graph, nullptr, 0, ¶ms)); hipGraphExec_t graph_exec = nullptr; HIP_CHECK(hipGraphInstantiate(&graph_exec, graph, nullptr, nullptr, 0)); - params = GetMemcpy3DParms(make_hipPitchedPtr(dst, 0, count, 0), make_hipPos(0, 0, 0), - make_hipPitchedPtr(src, 0, count, 0), make_hipPos(0, 0, 0), + params = GetMemcpy3DParms(make_hipPitchedPtr(dst, count, count, 0), make_hipPos(0, 0, 0), + make_hipPitchedPtr(src, count, count, 0), make_hipPos(0, 0, 0), make_hipExtent(count, 1, 1), direction); HIP_CHECK(hipGraphExecMemcpyNodeSetParams(graph_exec, node, ¶ms)); HIP_CHECK(hipGraphLaunch(graph_exec, hipStreamPerThread));