pub unsafe extern "C" fn cuGraphNodeGetEnabled(
hGraphExec: CUgraphExec,
hNode: CUgraphNode,
isEnabled: *mut c_uint,
) -> CUresultExpand 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.
Note: Currently only kernel, memset and memcpy nodes are supported.
Note: This function will not reflect device-side updates for device-updatable kernel nodes.
Note: Graph objects are not threadsafe. More here.
Note that this function may also return error codes from previous, asynchronous launches.
§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.
§Return value
See also: cuGraphNodeSetEnabled, cuGraphExecUpdate, cuGraphInstantiate, cuGraphLaunch.