Skip to main content

cuGraphHostNodeSetParams

Function cuGraphHostNodeSetParams 

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

Sets a host node’s parameters.

Sets the parameters of host 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, cuLaunchHostFunc, cuGraphAddHostNode, cuGraphHostNodeGetParams.