Skip to main content

calibration_row

Function calibration_row 

Source
pub fn calibration_row(
    t: &PlasticineTarget,
    row: &Value,
) -> Result<Value, String>
Expand description

One toolchain row joined with our model: the same app shape, tile (ts) and a single instance (its loop pars are 1), on the same mesh — modeled cycles vs Tungsten’s, the per-cent difference, and the unit counts side by side (PIR’s PCU count includes the control/address units its partitioner splits off; our row counts compute PCUs and perimeter address-generator stages separately — printed, not conflated). A dot product is the 1 × 1 × N GEMM: its ts the K-chunk, its ip the reduce’s lanes, and its op (how many tiles are reduced at once) the GEMM’s loop_kk. Rows of kind: "dot" are modeled as that GEMM.