diff --git a/projects/hip-tests/catch/unit/graph/hipGraphDebugDotPrint.cc b/projects/hip-tests/catch/unit/graph/hipGraphDebugDotPrint.cc index ec6dcb4eb5..04e3c874e3 100644 --- a/projects/hip-tests/catch/unit/graph/hipGraphDebugDotPrint.cc +++ b/projects/hip-tests/catch/unit/graph/hipGraphDebugDotPrint.cc @@ -226,7 +226,7 @@ static void hipGraphDebugDotPrint_Functional(const char* fName, HIP_CHECK(hipGraphAddMemcpyNodeFromSymbol(&memcpyFromSymbolNode, childGraph, nullptr, 0, B_h, HIP_SYMBOL(globalIn), Nbytes, 0, hipMemcpyDeviceToHost)); - + HIP_CHECK(hipGraphAddDependencies(childGraph, &memcpyToSymbolNode, &memcpyFromSymbolNode, 1)); // Add memset node to graph & validate its DebugDotPrint descriptions hipMemsetParams memsetParams{}; memset(&memsetParams, 0, sizeof(memsetParams)); @@ -244,7 +244,7 @@ static void hipGraphDebugDotPrint_Functional(const char* fName, nullptr, 0, childGraph)); std::map graphData; - graphData["->"] = 3; // number of edges + graphData["->"] = 4; // number of edges graphData["MEMCPY"] = 6; graphData["HtoA"] = 1; graphData["HtoD"] = 3;