interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / nki / vecadd.unit.om

5 lines · 228 bytes Raw Blame History
1note vecadd: out[i] = a[i] + b[i]. irnki lifts this scalar function to an NKI tile kernel.
2note IR v1 carries uint lanes; `irnki f32` retypes the lanes to float32 (see README.md).
3fn vecadd a uint b uint to uint
4ret add a b
5end