Skip to main content

cudaGraphNodeGetParams

Function cudaGraphNodeGetParams 

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

Returns a graph node’s parameters.

Returns the parameters of graph node node in *nodeParams.

Any pointers returned in *nodeParams point to driver-owned memory associated with the node. This memory remains valid until the node is destroyed. Any memory pointed to from *nodeParams must not be modified.

The returned parameters are a description of the node, but may not be identical to the struct provided at creation and may not be suitable for direct creation of identical nodes. This is because parameters may be partially unspecified and filled in by the driver at creation, may reference non-copyable handles, or may describe ownership semantics or other parameters that govern behavior of node creation but are not part of the final functional descriptor.

§Parameters

  • node: Node to get the parameters for.
  • nodeParams: Pointer to return the parameters.