Skip to main content

cudaGraphNodeGetEnabled

Function cudaGraphNodeGetEnabled 

Source
pub unsafe extern "C" fn cudaGraphNodeGetEnabled(
    hGraphExec: cudaGraphExec_t,
    hNode: cudaGraphNode_t,
    isEnabled: *mut c_uint,
) -> cudaError_t
Expand description

Query whether a node in the given graphExec is enabled.

Sets isEnabled to 1 if hNode is enabled, or 0 if hNode is disabled.

The node is identified by the corresponding node hNode in the non-executable graph, from which the executable graph was instantiated.

hNode must not have been removed from the original graph.

ยงParameters

  • hGraphExec: The executable graph in which to set the specified node.
  • hNode: Node from the graph from which graphExec was instantiated.
  • isEnabled: Location to return the enabled status of the node.