Function rcudnn_sys::cudaGraphNodeFindInClone[][src]

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

\brief Finds a cloned version of a node

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

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

\param pNode - Returns handle to the cloned node \param originalNode - Handle to the original node \param clonedGraph - Cloned graph to query

\return ::cudaSuccess, ::cudaErrorInvalidValue \note_graph_thread_safety \notefnerr \note_init_rt \note_callback

\sa ::cudaGraphClone