pub unsafe extern "C" fn cuGraphDestroyNode(
hNode: CUgraphNode,
) -> CUresultExpand description
Remove a node from the graph.
Removes hNode from its graph. This operation also severs any dependencies of other nodes on 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.
Note: Graph objects are not threadsafe. More here.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
hNode: Node to remove
§Return value
See also: cuGraphAddChildGraphNode, cuGraphAddEmptyNode, cuGraphAddKernelNode, cuGraphAddHostNode, cuGraphAddMemcpyNode, cuGraphAddMemsetNode.