pub unsafe extern "C" fn cuGraphExecBatchMemOpNodeSetParams(
hGraphExec: CUgraphExec,
hNode: CUgraphNode,
nodeParams: *const CUDA_BATCH_MEM_OP_NODE_PARAMS,
) -> CUresult
Expand description
\brief Sets the parameters for a batch mem op node in the given graphExec
Sets the parameters of a batch mem op 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.
The following fields on operations may be modified on an executable graph:
op.waitValue.address op.waitValue.value[64] op.waitValue.flags bits corresponding to wait type (i.e. CU_STREAM_WAIT_VALUE_FLUSH bit cannot be modified) op.writeValue.address op.writeValue.value[64]
Other fields, such as the context, count or type of operations, and other types of operations such as membars, may not be modified.
\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.
The paramArray inside \p nodeParams is copied and therefore it can be freed after the call returns.
\param hGraphExec - The executable graph in which to set the specified node \param hNode - Batch mem op 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, ::cuStreamBatchMemOp, ::cuGraphAddBatchMemOpNode, ::cuGraphBatchMemOpNodeGetParams, ::cuGraphBatchMemOpNodeSetParams, ::cuGraphInstantiate