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/sq.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 / sq.om` 9 lines ยท 238 bytes Raw Blame History 1 note sq_@T@: acc (f64 bits) + the sum over @T@ lanes of f64(x*x), the rms_norm sum of ggml-cpu. 2 fn sq_@T@ acc ulong x view f32 @T@ to ulong 3 s = bitcast f64 acc 4 for i ulong @T@ 5 v = get x i 6 s = add s f64 mul v v 7 end 8 ret bitcast ulong s 9 end