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 / bridge / omega-bridge / pytorch / kernels / eadd.om
| 1 | note eadd: o = a + b element by element (aten.add.Tensor, alpha 1, equal shapes), one f32 rounding. |
| 2 | note The caller supplies the const line L (the element count) before this text. |
| 3 | fn eadd a view f32 L b view f32 L o edit f32 L to void |
| 4 | for i ulong L |
| 5 | put o i add get a i get b i |
| 6 | end |
| 7 | end |