pub fn best_tile_config(
mt: usize,
nt: usize,
kt: usize,
limits: &TileLimits,
) -> TileConfigExpand description
Smart-lattice autotune: search the divisor lattice of the tiling space — per_core_m | mt,
per_core_n | nt, out_subblock_h | per_core_m, out_subblock_w | per_core_n, in0_block_w | kt —
keeping only points LEGAL on this part (grid fits, the accumulator holds the sub-block, blocks fit local
memory), and return the minimum-tiling_cost point. This is the compiler choosing the config the
vendor hand-tunes, and it adapts to the part’s limits: a larger accumulator or grid unlocks larger,
faster lattice points.