pub unsafe extern "C" fn hipGraphNodeGetEnabled(
hGraphExec: hipGraphExec_t,
hNode: hipGraphNode_t,
isEnabled: *mut c_uint,
) -> hipError_t
Expand description
@brief Query whether a node in the given graphExec is enabled
Sets isEnabled to 1 if hNode is enabled, or 0 if it is disabled.
The node is identified by the corresponding node 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.
@param [in] hGraphExec - The executable graph in which to set the specified node. @param [in] hNode - Node from the graph from which graphExec was instantiated. @param [out] isEnabled - Location to return the enabled status of the node.
@returns #hipSuccess, #hipErrorInvalidValue @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.