cuda.bindings._v2.driver.graph_kernel_node_get_params_v2#

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

Returns a kernel node’s parameters.

Returns the parameters of kernel node h_node in node_params. The kernelParams or extra array returned in node_params, as well as the argument values it points to, are owned by the node. This memory remains valid until the node is destroyed or its parameters are modified, and should not be modified directly. Use cuGraphKernelNodeSetParams to update the parameters of this node. The params will contain either kernelParams or extra, according to which of these was most recently set on the node.

Parameters:

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

Returns:

Pointer to return the parameters.

Return type:

CUDA_KERNEL_NODE_PARAMS_v2

See also

cuGraphKernelNodeGetParams_v2