cuda.bindings._v2.driver.graph_destroy_node#

cuda.bindings._v2.driver.graph_destroy_node(intptr_t h_node)#

Remove a node from the graph.

Removes h_node from its graph. This operation also severs any dependencies of other nodes on h_node 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.

Parameters:

h_node (intptr_t) – Node to remove.

See also

cuGraphDestroyNode