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,
) → unsigned int#

Query whether a node in the given graphExec is enabled.

Sets is_enabled to 1 if h_node is enabled, or 0 if h_node is disabled. The node is identified by the corresponding node h_node in the non- executable graph, from which the executable graph was instantiated. h_node must 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