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/openaccel-lab/blob/main/workloads/dequant_int8/omega.om # openaccel-lab aien-dev/openaccel-lab 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 `openaccel-lab / workloads / dequant_int8 / omega.om` 34 lines ยท 443 bytes Raw Blame History 1 global kr ulong 1 2 global kc ulong 1 3 fn kern to void 4 r = get kr 0 5 c = get kc 0 6 for i ulong r 7 b = mul i c 8 sc = get fa i 9 for j ulong c 10 o = add b j 11 v = f32 get qa o 12 put fo o mul v sc 13 end 14 end 15 end 16 fn main to int 17 oal_begin 18 put kr 0 ulong oal_p 0 19 put kc 0 ulong oal_p 1 20 n = oal_qa 0 21 a = oal_fa 1 22 w = oal_warm 23 for i ulong add w oal_reps 24 t0 = monons 25 kern 26 t1 = monons 27 if ge i w 28 oal_tick sub t1 t0 29 end 30 end 31 oal_so 0 mul get kr 0 get kc 0 32 oal_end 33 ret 0 34 end