Skip to main content

cudaGraphExecHostNodeSetParams

Function cudaGraphExecHostNodeSetParams 

Source
pub unsafe extern "C" fn cudaGraphExecHostNodeSetParams(
    hGraphExec: cudaGraphExec_t,
    node: cudaGraphNode_t,
    pNodeParams: *const cudaHostNodeParams,
) -> cudaError_t
Expand description

Sets the parameters for a host node in the given graphExec.

Updates the work represented by node in hGraphExec as though node had contained pNodeParams at instantiation. node must remain in the graph which was used to instantiate hGraphExec. Changed edges to and from node are ignored.

The modifications only affect future launches of hGraphExec. Already enqueued or running launches of hGraphExec are not affected by this call. node is also not modified by this call.

ยงParameters

  • hGraphExec: The executable graph in which to set the specified node.
  • node: Host node from the graph which was used to instantiate graphExec.
  • pNodeParams: Updated Parameters to set.