cuda.bindings._v2.driver.graph_exec_memcpy_node_set_params#
- cuda.bindings._v2.driver.graph_exec_memcpy_node_set_params(
- intptr_t h_graph_exec,
- intptr_t h_node,
- copy_params,
- intptr_t ctx,
Sets the parameters for a memcpy node in the given graphExec.
Updates the work represented by
h_nodeinh_graph_execas thoughh_nodehad containedcopy_paramsat instantiation. h_node must remain in the graph which was used to instantiateh_graph_exec. Changed edges to and from h_node are ignored. The source and destination memory incopy_paramsmust be allocated from the same contexts as the original source and destination memory. Both the instantiation-time memory operands and the memory operands incopy_paramsmust be 1-dimensional. Zero-length operations are not supported. The modifications only affect future launches ofh_graph_exec. Already enqueued or running launches ofh_graph_execare not affected by this call. h_node is also not modified by this call. Returns CUDA_ERROR_INVALID_VALUE if the memory operands’ mappings changed or either the original or new memory operands are multidimensional.- Parameters:
h_graph_exec (intptr_t) – The executable graph in which to set the specified node.
h_node (intptr_t) – Memcpy node from the graph which was used to instantiate graphExec.
copy_params (intptr_t) – The updated parameters to set.
ctx (intptr_t) – Context on which to run the node.
See also
cuGraphExecMemcpyNodeSetParams