We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb1c0f9 commit 7f9c16bCopy full SHA for 7f9c16b
cuda_core/cuda/core/experimental/_graph.py
@@ -683,11 +683,14 @@ def add_child(self, child_graph: GraphBuilder):
683
driver.cuStreamGetCaptureInfo(stream_handle)
684
)
685
686
+ # See https://github.com/NVIDIA/cuda-python/pull/879#issuecomment-3211054159
687
+ # for rationale
688
+ deps_info_trimmed = deps_info_out[:num_dependencies_out]
689
deps_info_update = [
690
[
691
handle_return(
692
driver.cuGraphAddChildGraphNode(
- graph_out, *deps_info_out, num_dependencies_out, child_graph._mnff.graph
693
+ graph_out, *deps_info_trimmed, num_dependencies_out, child_graph._mnff.graph
694
695
696
]
0 commit comments