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/om/gpu/inkling2/decoder/decode-cli.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 / om / gpu / inkling2 / decoder / decode-cli.om` 36 lines ยท 694 bytes Raw Blame History 1 note SPDX-License-Identifier: AGPL-3.0-only 2 note CLI entrypoint for inkling2-decode (composes after om/gpu/inkling2/decoder/decode.om). 3 4 fn main to int 5 ikDPrint ikDMsgBanner 6 ikDPrint ikDMsgLoad 7 t0 = monons 8 rc0 = ikDInitAll 9 if ne rc0 0 10 ikDPrint ikDMsgFail 11 ikDPrintU ulong rc0 12 ikDPrint ikDMsgNl 13 ret rc0 14 end 15 t1 = monons 16 ikDPrint ikDMsgLoaded 17 ikDPrintU ulong div sub t1 t0 `1000000` 18 ikDPrint ikDMsgNl 19 ikArbResetAll 20 for i ulong 3072 21 put ikDArbRes i -1 22 end 23 for i ulong 4 24 put ikDArbStats i 0 25 end 26 rc1 = ikDRunPrompt 27 ikDPrint ikDMsgArb 28 ikDPrintU get ikDArbStats 0 29 ikDPrint ikDMsgHit8 30 ikDPrintU get ikDArbStats 1 31 ikDPrint ikDMsgHit16 32 ikDPrintU get ikDArbStats 2 33 ikDPrint ikDMsgNl 34 rc = nvmclose 35 ret rc1 36 end