Function cuGraphExecExternalSemaphoresWaitNodeSetParams

Source
pub unsafe extern "C" fn cuGraphExecExternalSemaphoresWaitNodeSetParams(
    hGraphExec: CUgraphExec,
    hNode: CUgraphNode,
    nodeParams: *const CUDA_EXT_SEM_WAIT_NODE_PARAMS,
) -> CUresult
Expand description

\brief Sets the parameters for an external semaphore wait node in the given graphExec

Sets the parameters of an external semaphore wait node in an executable graph \p hGraphExec. The node is identified by the corresponding node \p hNode in the non-executable graph, from which the executable graph was instantiated.

\p hNode must not have been removed from the original graph.

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

Changing \p nodeParams->numExtSems is not supported.

\param hGraphExec - The executable graph in which to set the specified node \param hNode - semaphore wait node from the graph from which graphExec was instantiated \param nodeParams - Updated Parameters to set

\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, \note_graph_thread_safety \notefnerr

\sa ::cuGraphExecNodeSetParams, ::cuGraphAddExternalSemaphoresWaitNode, ::cuImportExternalSemaphore, ::cuSignalExternalSemaphoresAsync, ::cuWaitExternalSemaphoresAsync, ::cuGraphExecKernelNodeSetParams, ::cuGraphExecMemcpyNodeSetParams, ::cuGraphExecMemsetNodeSetParams, ::cuGraphExecHostNodeSetParams, ::cuGraphExecChildGraphNodeSetParams, ::cuGraphExecEventRecordNodeSetEvent, ::cuGraphExecEventWaitNodeSetEvent, ::cuGraphExecExternalSemaphoresSignalNodeSetParams, ::cuGraphExecUpdate, ::cuGraphInstantiate