Verba/Rapida

Esperimenti #lrx2r

The third-row cost left after [mac lrx2k]'s tail fix: the load-once multi-row qmv stays +3.6 to +11.8 us a...

done

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

The third-row cost left after [mac lrx2k]'s tail fix: the load-once multi-row qmv stays +3.6 to +11.8 us a call over C9's lanes at 3 rows, and the third row adds +6.9 to +12.4 us a call on sl_o, gl_o and sh_down, which have no whole-block tail; call boundary and register occupancy ruled out by [mac lrx2k]; a blind investigation, then single-candidate arms

Modello e configurazione

C14

Guadagno atteso

none (a cause search; adopts nothing)

Da dove viene l'idea

`2026-11-30-mac-lrx1-row-exact-rows/README.md` § Result, row [mac lrx2r]

Esito

done 2026-12-02 08:56 (lanes-fix helper for config-board): line not met, the K split worth -0.004 ms a verify; third row +1.147; the per-path pick +0.250 over C9's lanes opens c14s2

Lezione

splitting K is worth nothing to C9's split-K lanes at 3 rows (-0.004 ms a verify at one part), so the row-exact kernel's gap is per-row work, concentrated in the third row (+1.15 ms against +0.15 for the second); choosing 4 outputs a simdgroup on the plain path and 2 on the fast path, both with the whole-block tail, brings it to +0.25 ms a verify.

Adottato

no (a diagnosis on test-only kernels; the per-path pick goes to C15's row and its pair)

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al