SWDEV-479575 - Child Graph dependencies fixed

Change-Id: Iaf2d8f0ae86e6a701d10f5867b742036392e5a43
This commit is contained in:
Rahul Manocha
2024-09-13 12:34:15 -07:00
committed by Rahul Manocha
parent 5672b0d380
commit ed5b962e62
+3 -2
View File
@@ -380,8 +380,9 @@ TEST_CASE("Unit_hipGraphAddKernelNode_moduleLoadKernelFn_childGraph") {
nodeDependencies.push_back(memcpyh2d2); nodeDependencies.push_back(memcpyh2d2);
// Add child graph node // Add child graph node
HIP_CHECK(hipGraphAddChildGraphNode(&childGraphNode, graph, HIP_CHECK(hipGraphAddChildGraphNode(&childGraphNode, graph,
nullptr, nodeDependencies.data(),
0, childgraph)); nodeDependencies.size(), childgraph));
nodeDependencies.clear();
nodeDependencies.push_back(childGraphNode); nodeDependencies.push_back(childGraphNode);
// Add MemCpy nodes D2H // Add MemCpy nodes D2H