cuda.bindings._v2.driver.graph_node_get_params#

cuda.bindings._v2.driver.graph_node_get_params(intptr_t h_node)#

Return a graph node’s parameters.

Returns the parameters of graph node h_node in *node_params. Any pointers returned in *node_params point to driver-owned memory associated with the node. This memory remains valid until the node is destroyed. Any memory pointed to from *node_params 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:

h_node (intptr_t) – Node to get the parameters for.

Returns:

Pointer to return the parameters.

Return type:

CUgraphNodeParams

See also

cuGraphNodeGetParams