cuda.bindings._v2.driver.graph_node_get_enabled#
- cuda.bindings._v2.driver.graph_node_get_enabled(
- intptr_t h_graph_exec,
- intptr_t h_node,
Query whether a node in the given graphExec is enabled.
Sets is_enabled to 1 if
h_nodeis enabled, or 0 ifh_nodeis disabled. The node is identified by the corresponding nodeh_nodein the non- executable graph, from which the executable graph was instantiated.h_nodemust not have been removed from the original graph.- Parameters:
h_graph_exec (intptr_t) – The executable graph in which to set the specified node.
h_node (intptr_t) – Node from the graph from which graphExec was instantiated.
- Returns:
Location to return the enabled status of the node.
- Return type:
unsigned int
Note
Currently only kernel, memset and memcpy nodes are supported.
Note
This function will not reflect device-side updates for device-updatable kernel nodes.
See also
cuGraphNodeGetEnabled