pub unsafe extern "C" fn cudaGraphExecMemcpyNodeSetParams1D(
hGraphExec: cudaGraphExec_t,
node: cudaGraphNode_t,
dst: *mut c_void,
src: *const c_void,
count: size_t,
kind: cudaMemcpyKind,
) -> cudaError_tExpand description
Sets the parameters for a memcpy node in the given graphExec to perform a 1-dimensional copy.
Updates the work represented by node in hGraphExec as though node had contained the given params at instantiation. node must remain in the graph which was used to instantiate hGraphExec. Changed edges to and from node are ignored.
src and dst must be allocated from the same contexts as the original source and destination memory. The instantiation-time memory operands must be 1-dimensional. Zero-length operations are not supported.
The modifications only affect future launches of hGraphExec. Already enqueued or running launches of hGraphExec are not affected by this call. node is also not modified by this call.
Returns cudaErrorInvalidValue if the memory operands’ mappings changed or the original memory operands are multidimensional.
§Parameters
hGraphExec: The executable graph in which to set the specified node.node: Memcpy node from the graph which was used to instantiate graphExec.dst: Destination memory address.src: Source memory address.count: Size in bytes to copy.kind: Type of transfer.