Skip to main content

cudaGraphNodeSetParams

Function cudaGraphNodeSetParams 

Source
pub unsafe extern "C" fn cudaGraphNodeSetParams(
    node: cudaGraphNode_t,
    nodeParams: *mut cudaGraphNodeParams,
) -> cudaError_t
Expand description

Update a graph node’s parameters.

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

Modifying parameters is not supported for node types cudaGraphNodeTypeMemAlloc and cudaGraphNodeTypeMemFree.

§Parameters

  • node: Node to set the parameters for.
  • nodeParams: Parameters to copy.