Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml-omega/blob/main/kernels/smwh.om # ggml-omega aien-dev/ggml-omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `ggml-omega / kernels / smwh.om` 7 lines ยท 250 bytes Raw Blame History 1 note smwh_@T@: the soft_max input w = x*scale + mask with an f16 mask, on @T@ lanes. 2 fn smwh_@T@ x view f32 @T@ m view ushort @T@ d edit f32 @T@ sc ulong to void 3 sf = bitcast f32 uint sc 4 for i ulong @T@ 5 put d i add mul get x i sf h2f get m i 6 end 7 end