cuda.bindings._v2.driver.graph_node_find_in_clone#

cuda.bindings._v2.driver.graph_node_find_in_clone(
intptr_t h_original_node,
intptr_t h_cloned_graph,
) → intptr_t#

Finds a cloned version of a node.

This function returns the node in h_cloned_graph corresponding to h_original_node in the original graph. h_cloned_graph must have been cloned from hOriginalGraph via cuGraphClone. h_original_node must have been in hOriginalGraph at the time of the call to cuGraphClone, and the corresponding cloned node in h_cloned_graph must not have been removed. The cloned node is then returned via phClonedNode.

Parameters:
  • h_original_node (intptr_t) – Handle to the original node.

  • h_cloned_graph (intptr_t) – Cloned graph to query.

Returns:

Returns handle to the cloned node.

Return type:

intptr_t

See also

cuGraphNodeFindInClone