Function cuGraphNodeSetParams

Source
pub unsafe extern "C" fn cuGraphNodeSetParams(
    hNode: CUgraphNode,
    nodeParams: *mut CUgraphNodeParams,
) -> CUresult
Expand description

\brief Update’s a graph node’s parameters

Sets the parameters of graph node \p hNode to \p nodeParams. The node type specified by \p nodeParams->type must match the type of \p hNode. \p nodeParams must be fully initialized and all unused bytes (reserved, padding) zeroed.

Modifying parameters is not supported for node types CU_GRAPH_NODE_TYPE_MEM_ALLOC and CU_GRAPH_NODE_TYPE_MEM_FREE.

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

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

\sa ::cuGraphAddNode, ::cuGraphExecNodeSetParams