Skip to main content

plan_dynamic_launch

Function plan_dynamic_launch 

Source
pub fn plan_dynamic_launch(
    config: &DynamicParallelismConfig,
) -> Result<DynamicLaunchPlan, LaunchError>
Expand description

Creates a validated launch plan from a dynamic parallelism configuration.

Validates the configuration, then estimates the number of child launches and per-launch memory overhead. The parent and child kernel names are generated from the configuration.

ยงErrors

Returns LaunchError if the configuration is invalid.