cuda.bindings._v2.driver.graph_node_set_params_v2#
- cuda.bindings._v2.driver.graph_node_set_params_v2(intptr_t h_node, node_params)#
Update a graph node’s parameters.
Sets the parameters of graph node
h_nodetonode_params. The node type specified bynode_params->typemust match the type ofh_node.node_paramsmust 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. For kernel nodes, if both the kernel node’sCUfunctionand ctx are non- NULL, the underlying device context of ctx must match the device context that theCUfunctionwas loaded into; otherwise the call returnsCUDA_ERROR_INVALID_CONTEXT.- Parameters:
h_node (intptr_t) – Node to set the parameters for.
node_params (intptr_t) – Parameters to copy.
See also
cuGraphNodeSetParams_v2