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/omega-mv/blob/main/gpu/nvidia/checks/avv-bfexp.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia / checks / avv-bfexp.om` 24 lines ยท 801 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note gpu/nvidia/checks/avv-bfexp.om: av_bfexp (gpu/nvidia/om/api/attn_bfexp.om) against av_bfexpand of CUDApp src/omega_attn_views.h; 3 note A is ushort (bf16), B f32; the first n of B become A widened to f32 bits; h over the bits of B. Composed before avv.om (its rows and the A, B, v, r, h they name). 4 text t_name "AVV-BFEXP" 5 text t_au "bfexp" 6 fn cname to void 7 for i ulong len t_name bound 64 8 ckoc ulong get t_name i 9 end 10 end 11 fn avcap to ulong 12 ret `1000003` 13 end 14 fn avop a view ulong 9 b view ulong 9 l ulong n ulong v ulong o edit ulong 2 to void 15 s = new ushort `1000003` 0 16 avgs s a l 17 avop2 s b l n o 18 end 19 fn avop2 s view ushort * b view ulong 9 l ulong n ulong o edit ulong 2 to void 20 d = new f32 `1000003` f32 0 21 avgf d b l 22 put o 0 av_bfexp s d n 23 put o 1 avhf d l 24 end