cuda.bindings._v2.driver.graph_exec_node_set_params#

cuda.bindings._v2.driver.graph_exec_node_set_params(
intptr_t h_graph_exec,
intptr_t h_node,
node_params,
)#

Update a graph node’s parameters in an instantiated graph.

Sets the parameters of a node in an executable graph h_graph_exec. The node is identified by the corresponding node h_node in the non-executable graph from which the executable graph was instantiated. h_node must not have been removed from the original graph. The modifications only affect future launches of h_graph_exec. Already enqueued or running launches of h_graph_exec are not affected by this call. h_node is also not modified by this call. Allowed changes to parameters on executable graphs are as follows:. **View CUDA Toolkit Documentation for a table example**.

Parameters:
  • h_graph_exec (intptr_t) – The executable graph in which to update the specified node.

  • h_node (intptr_t) – Corresponding node from the graph from which graphExec was instantiated.

  • node_params (intptr_t) – Updated Parameters to set.

See also

cuGraphExecNodeSetParams