cuda.bindings._v2.driver.graph_node_set_params#

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

Update a graph node’s parameters.

Sets the parameters of graph node h_node to node_params. The node type specified by node_params->type must match the type of h_node. node_params must be fully initialized and all unused bytes (reserved, padding) zeroed. Modifying parameters is not supported for node types CU_GRAPH_NODE_TYPE_MEM_ALLOC and CU_GRAPH_NODE_TYPE_MEM_FREE.

Parameters:
  • h_node (intptr_t) – Node to set the parameters for.

  • node_params (intptr_t) – Parameters to copy.

See also

cuGraphNodeSetParams