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 / bridge / omega-bridge / pytorch / kernels / eadd.om

7 lines · 285 bytes Raw Blame History
1note eadd: o = a + b element by element (aten.add.Tensor, alpha 1, equal shapes), one f32 rounding.
2note The caller supplies the const line L (the element count) before this text.
3fn eadd a view f32 L b view f32 L o edit f32 L to void
4for i ulong L
5put o i add get a i get b i
6end
7end