pub unsafe extern "C" fn cuGraphExecMemsetNodeSetParams(
    hGraphExec: CUgraphExec,
    hNode: CUgraphNode,
    memsetParams: *const CUDA_MEMSET_NODE_PARAMS,
    ctx: CUcontext
) -> CUresult
Expand description

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

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

The destination memory in \p memsetParams must be allocated from the same contexts as the original destination memory. Both the instantiation-time memory operand and the memory operand in \p memsetParams 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. hNode is also not modified by this call.

Returns CUDA_ERROR_INVALID_VALUE if the memory operand’s mappings changed or either the original or new memory operand are multidimensional.

\param hGraphExec - The executable graph in which to set the specified node \param hNode - Memset node from the graph which was used to instantiate graphExec \param memsetParams - The updated parameters to set \param ctx - Context on which to run the node

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

\sa ::cuGraphExecNodeSetParams, ::cuGraphAddMemsetNode, ::cuGraphMemsetNodeSetParams, ::cuGraphExecKernelNodeSetParams, ::cuGraphExecMemcpyNodeSetParams, ::cuGraphExecHostNodeSetParams, ::cuGraphExecChildGraphNodeSetParams, ::cuGraphExecEventRecordNodeSetEvent, ::cuGraphExecEventWaitNodeSetEvent, ::cuGraphExecExternalSemaphoresSignalNodeSetParams, ::cuGraphExecExternalSemaphoresWaitNodeSetParams, ::cuGraphExecUpdate, ::cuGraphInstantiate