cuda.bindings._v2.driver.graph_get_nodes#
- cuda.bindings._v2.driver.graph_get_nodes(intptr_t h_graph)#
Returns a graph’s nodes.
Returns a list of
h_graph'snodes.nodesmay be NULL, in which case this function will return the number of nodes innum_nodes. Otherwise,num_nodesentries will be filled in. Ifnum_nodesis higher than the actual number of nodes, the remaining entries innodeswill be set to NULL, and the number of nodes actually obtained will be returned innum_nodes.- Parameters:
h_graph (intptr_t) – Graph to query.
- Returns:
Pointer to return the nodes.
- Return type:
intptr_t
See also
cuGraphGetNodes