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 / ggml / kernels / smw.om

7 lines · 235 bytes Raw Blame History
1note smw_@T@: the soft_max input w = x*scale + mask (f32 mask), on @T@ lanes.
2fn smw_@T@ x view f32 @T@ m view f32 @T@ d edit f32 @T@ sc ulong to void
3sf = bitcast f32 uint sc
4for i ulong @T@
5put d i add mul get x i sf get m i
6end
7end