omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / nki / vecadd.unit.om
| 1 | note vecadd: out[i] = a[i] + b[i]. irnki lifts this scalar function to an NKI tile kernel. |
| 2 | note IR v1 carries uint lanes; `irnki f32` retypes the lanes to float32 (see README.md). |
| 3 | fn vecadd a uint b uint to uint |
| 4 | ret add a b |
| 5 | end |