Function cuGraphNodeFindInClone

Source
pub unsafe extern "C" fn cuGraphNodeFindInClone(
    phNode: *mut CUgraphNode,
    hOriginalNode: CUgraphNode,
    hClonedGraph: CUgraph,
) -> CUresult
Expand description

\brief Finds a cloned version of a node

This function returns the node in \p hClonedGraph corresponding to \p hOriginalNode in the original graph.

\p hClonedGraph must have been cloned from \p hOriginalGraph via ::cuGraphClone. \p hOriginalNode must have been in \p hOriginalGraph at the time of the call to ::cuGraphClone, and the corresponding cloned node in \p hClonedGraph must not have been removed. The cloned node is then returned via \p phClonedNode.

\param phNode - Returns handle to the cloned node \param hOriginalNode - Handle to the original node \param hClonedGraph - Cloned graph to query

\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, \note_graph_thread_safety \notefnerr

\sa ::cuGraphClone