Skip to main content

schedule_for_target

Function schedule_for_target 

Source
pub fn schedule_for_target(
    cells: &[LoopCell],
    result: Src,
    n_in: usize,
    target: &FabricTarget,
) -> DaeSchedule
Expand description

Schedule a body FOR a described target: decouple its address lane iff the target carries an AGU (target.agu), else leave it coupled (identity). This is the descriptor knob — a fabric without an AGU cannot exploit decoupling, so the transform only fires when the target can realize it. Either way the schedule is semantics-preserving (a proven reordering, or the identity).