hipgraphnodesetenabled Interface Reference#
hipfort::hipgraphnodesetenabled Interface Reference
Enables or disables the specified node in the given graphExec. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipgraphnodesetenabled_ (hgraphexec, hnode, isenabled) |
Detailed Description
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.
- Parameters
-
[in] hGraphExec - The executable graph in which to set the specified node. [in] hNode - Node from the graph from which graphExec was instantiated. [in] isEnabled - Node is enabled if != 0, otherwise the node is disabled.
- Returns
hipSuccess,hipErrorInvalidValue,
Member Function/Subroutine Documentation
◆ hipgraphnodesetenabled_()
| integer(kind(hipsuccess)) function hipfort::hipgraphnodesetenabled::hipgraphnodesetenabled_ | ( | type(c_ptr), value | hgraphexec, |
| type(c_ptr), value | hnode, | ||
| integer(c_int), value | isenabled | ||
| ) |
The documentation for this interface was generated from the following file: