Skip to main content

rdu_ii_report

Function rdu_ii_report 

Source
pub fn rdu_ii_report(p: &SpatialProgram, facts: &RduChipFacts) -> RduIiReport
Expand description

The II view of p on facts’ unit model. One row per compute-role stage: latency = the PCU pipeline depth (+ the reduction tree, ⌈log₂ lanes⌉, when the stage folds an axis); resource II from the unit model’s occupancies; recurrence II = pipeline depth + register turnaround when the stage reads a buffer it also writes (a spilled partial, an in-place update); memory II from the stage’s vector accesses under the PMU’s strided banking. Then the pipeline’s II, Spatial’s N-buffer depths over compute→compute edges, and the credit-loop depth of every IR edge.