interplane.Get Omega
Read in your language

ggml-omega

aien-dev/ggml-omega

Brought by drakestapleton

branch main Branches Tags History

ggml-omega / 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