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/train/openaccel-lab/controls/gemm_offbyone/omega.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 / train / openaccel-lab / controls / gemm_offbyone / omega.om` 38 lines ยท 499 bytes Raw Blame History 1 global tn ulong 1 2 fn kern to void 3 nt = get tn 0 4 for t ulong nt 5 for i ulong 16 6 ai = add mul t 256 mul i 16 7 for j ulong 16 8 pb = add mul t 256 j 9 s = 0.0f32 10 for k ulong 15 11 x = get fa add ai k 12 y = get fb pb 13 s = add s mul x y 14 pb = add pb 16 15 end 16 put fo add ai j s 17 end 18 end 19 end 20 end 21 fn main to int 22 oal_begin 23 put tn 0 ulong oal_p 0 24 na = oal_fa 0 25 nb = oal_fb 1 26 w = oal_warm 27 for r ulong add w oal_reps 28 t0 = monons 29 kern 30 t1 = monons 31 if ge r w 32 oal_tick sub t1 t0 33 end 34 end 35 oal_so 0 mul get tn 0 256 36 oal_end 37 ret 0 38 end