Function rcudnn::cudaGraphExecHostNodeSetParams[][src]

pub unsafe extern "C" fn cudaGraphExecHostNodeSetParams(
    hGraphExec: *mut CUgraphExec_st,
    node: *mut CUgraphNode_st,
    pNodeParams: *const cudaHostNodeParams
) -> cudaError
Expand description

\brief Sets the parameters for a host 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 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.

\param hGraphExec - The executable graph in which to set the specified node \param node - Host 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 ::cudaGraphAddHostNode, ::cudaGraphHostNodeSetParams, ::cudaGraphExecKernelNodeSetParams, ::cudaGraphExecMemcpyNodeSetParams, ::cudaGraphExecMemsetNodeSetParams, ::cudaGraphExecChildGraphNodeSetParams, ::cudaGraphExecEventRecordNodeSetEvent, ::cudaGraphExecEventWaitNodeSetEvent, ::cudaGraphExecExternalSemaphoresSignalNodeSetParams, ::cudaGraphExecExternalSemaphoresWaitNodeSetParams, ::cudaGraphExecUpdate, ::cudaGraphInstantiate