Skip to main content

build_params

Function build_params 

Source
pub fn build_params(
    kind: ConditionalKind,
    handle: CUgraphConditionalHandle,
    ctx: &Arc<CudaContext>,
    inner_graph_out: *mut CUgraph,
) -> CUDA_CONDITIONAL_NODE_PARAMS
Expand description

Build the raw CUDA_CONDITIONAL_NODE_PARAMS for kind against parent’s context. The returned struct embeds an out-pointer (phGraph_out) that CUDA fills with the inner graph; the actor adds it to the parent via cuGraphAddNode_v2.