Skip to main content

cudaGraphNodeFindInClone

Function cudaGraphNodeFindInClone 

Source
pub unsafe extern "C" fn cudaGraphNodeFindInClone(
    pNode: *mut cudaGraphNode_t,
    originalNode: cudaGraphNode_t,
    clonedGraph: cudaGraph_t,
) -> cudaError_t
Expand description

Finds a cloned version of a node.

This function returns the node in clonedGraph corresponding to originalNode in the original graph.

clonedGraph must have been cloned from originalGraph via cudaGraphClone. originalNode must have been in originalGraph at the time of the call to cudaGraphClone, and the corresponding cloned node in clonedGraph must not have been removed. The cloned node is then returned via pClonedNode.

ยงParameters

  • pNode: Returns handle to the cloned node.
  • originalNode: Handle to the original node.
  • clonedGraph: Cloned graph to query.