pub unsafe extern "C" fn hipGraphNodeSetEnabled(
hGraphExec: hipGraphExec_t,
hNode: hipGraphNode_t,
isEnabled: c_uint,
) -> hipError_t
Expand description
@brief Enables or disables the specified node in the given graphExec
Sets hNode to be either enabled or disabled. Disabled nodes are functionally equivalent to empty nodes until they are reenabled. Existing node parameters are not affected by disabling/enabling the node.
The node is identified by the corresponding 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.
@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 [in] isEnabled - Node is enabled if != 0, otherwise the node is disabled.
@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.