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/reduce_sum/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 / reduce_sum / omega.om` 25 lines ยท 300 bytes Raw Blame History 1 global kn ulong 1 2 fn kern to void 3 s = 0.0f32 4 for i ulong get kn 0 5 s = add s get fa i 6 end 7 put fo 0 s 8 end 9 fn main to int 10 oal_begin 11 put kn 0 ulong oal_p 0 12 a = oal_fa 0 13 w = oal_warm 14 for i ulong add w oal_reps 15 t0 = monons 16 kern 17 t1 = monons 18 if ge i w 19 oal_tick sub t1 t0 20 end 21 end 22 oal_so 0 1 23 oal_end 24 ret 0 25 end