Skip to main content

cuGraphKernelNodeSetParams_v2

Function cuGraphKernelNodeSetParams_v2 

Source
pub unsafe extern "C" fn cuGraphKernelNodeSetParams_v2(
    hNode: CUgraphNode,
    nodeParams: *const CUDA_KERNEL_NODE_PARAMS,
) -> CUresult
Expand description

Sets a kernel node’s parameters.

Sets the parameters of kernel node hNode to nodeParams.

Note: Graph objects are not threadsafe. More here.

Note that this function may also return error codes from previous, asynchronous launches.

§Parameters

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

§Return value

See also: cuGraphNodeSetParams, cuLaunchKernel, cuGraphAddKernelNode, cuGraphKernelNodeGetParams.