Function rcudnn_sys::cudaGraphExecMemcpyNodeSetParams[][src]

pub unsafe extern "C" fn cudaGraphExecMemcpyNodeSetParams(
    hGraphExec: cudaGraphExec_t,
    node: cudaGraphNode_t,
    pNodeParams: *const cudaMemcpy3DParms
) -> cudaError_t
Expand description

\brief Sets the parameters for a memcpy node in the given graphExec.

Updates the work represented by \p node in \p hGraphExec as though \p node had contained \p pNodeParams at instantiation. \p node must remain in the graph which was used to instantiate \p hGraphExec. Changed edges to and from \p node are ignored.

The source and destination memory in \p pNodeParams must be allocated from the same contexts as the original source and destination memory. Both the instantiation-time memory operands and the memory operands in \p pNodeParams must be 1-dimensional. Zero-length operations are not supported.

The modifications only affect future launches of \p hGraphExec. Already enqueued or running launches of \p hGraphExec are not affected by this call. \p node is also not modified by this call.

Returns ::cudaErrorInvalidValue if the memory operands’ mappings changed or either the original or new memory operands are multidimensional.

\param hGraphExec - The executable graph in which to set the specified node \param node - Memcpy node from the graph which was used to instantiate graphExec \param pNodeParams - Updated Parameters to set

\return ::cudaSuccess, ::cudaErrorInvalidValue, \note_graph_thread_safety \notefnerr \note_init_rt \note_callback

\sa ::cudaGraphAddMemcpyNode, ::cudaGraphMemcpyNodeSetParams, ::cudaGraphExecMemcpyNodeSetParamsToSymbol, ::cudaGraphExecMemcpyNodeSetParamsFromSymbol, ::cudaGraphExecMemcpyNodeSetParams1D, ::cudaGraphExecKernelNodeSetParams, ::cudaGraphExecMemsetNodeSetParams, ::cudaGraphExecHostNodeSetParams, ::cudaGraphExecChildGraphNodeSetParams, ::cudaGraphExecEventRecordNodeSetEvent, ::cudaGraphExecEventWaitNodeSetEvent, ::cudaGraphExecExternalSemaphoresSignalNodeSetParams, ::cudaGraphExecExternalSemaphoresWaitNodeSetParams, ::cudaGraphExecUpdate, ::cudaGraphInstantiate