Function cuGraphDestroyNode

Source
pub unsafe extern "C" fn cuGraphDestroyNode(
    hNode: CUgraphNode,
) -> CUresult
Expand description

\brief Remove a node from the graph

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

Nodes which belong to a graph which contains allocation or free nodes cannot be destroyed. Any attempt to do so will return an error.

\param hNode - Node to remove

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

\sa ::cuGraphAddChildGraphNode, ::cuGraphAddEmptyNode, ::cuGraphAddKernelNode, ::cuGraphAddHostNode, ::cuGraphAddMemcpyNode, ::cuGraphAddMemsetNode