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/CUDApp/blob/main/tests/learn53/moe-export.om # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. 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 `CUDApp / tests / learn53 / moe-export.om` 38 lines · 617 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note HOST_ONLY synthetic byte emitter; mode0 exact wire, mode1 native digest. 3 fn main to int 4 b = new uchar 16384 0 5 h = new uchar 32 0 6 mode = new uchar 1 0 7 last = new uchar 1 0 8 if ne read 0 mode 0 1 1 9 ret 65 10 end 11 if ne read 0 last 0 1 0 12 ret 65 13 end 14 mf_fill edit b 15 if ge get mode 0 2 16 mf_fifteen edit b 17 put mode 0 sub get mode 0 2 18 end 19 if ne mc_valid b 11264 0 20 ret 65 21 end 22 if eq get mode 0 0 23 if ne write 1 b 0 11264 11264 24 ret 74 25 end 26 ret 0 27 end 28 if eq get mode 0 1 29 if ne kc_codesha b 11264 edit h 0 30 ret 65 31 end 32 if ne write 1 h 0 32 32 33 ret 74 34 end 35 ret 0 36 end 37 ret 65 38 end