Skip to main content

plan_deployment

Function plan_deployment 

Source
pub fn plan_deployment(
    programs: &mut [DeployedProgram<'_>],
    target: &SpatialTarget,
) -> ResidencyPlan
Expand description

A deployment’s carried state planned and placed: every CARRIED State tensor of every program becomes a StateClass, once per layer that runs the program; the reserve is each chip’s largest footprint while a program runs — sram_footprint and the program’s own tables, kept on chip when the program has room for them — and every carried state takes the tier plan_states gives it.