Function rcudnn_sys::cudaGraphDestroyNode[][src]

pub unsafe extern "C" fn cudaGraphDestroyNode(
    node: cudaGraphNode_t
) -> cudaError_t
Expand description

\brief Remove a node from the graph

Removes \p node from its graph. This operation also severs any dependencies of other nodes on \p node and vice versa.

Dependencies cannot be removed from graphs which contain allocation or free nodes. Any attempt to do so will return an error.

\param node - Node to remove

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

\sa ::cudaGraphAddChildGraphNode, ::cudaGraphAddEmptyNode, ::cudaGraphAddKernelNode, ::cudaGraphAddHostNode, ::cudaGraphAddMemcpyNode, ::cudaGraphAddMemsetNode