Function cuGraphBatchMemOpNodeSetParams

Source
pub unsafe extern "C" fn cuGraphBatchMemOpNodeSetParams(
    hNode: CUgraphNode,
    nodeParams: *const CUDA_BATCH_MEM_OP_NODE_PARAMS,
) -> CUresult
Expand description

\brief Sets a batch mem op node’s parameters

Sets the parameters of batch mem op node \p hNode to \p nodeParams.

The paramArray inside \p nodeParams is copied and therefore it can be freed after the call returns.

\param hNode - Node to set the parameters for \param nodeParams - Parameters to copy

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

\sa ::cuGraphNodeSetParams, ::cuStreamBatchMemOp, ::cuGraphAddBatchMemOpNode, ::cuGraphBatchMemOpNodeGetParams