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-observe-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-observe-export.om` 50 lines · 840 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note HOST_ONLY SYNTHETIC; emit four native digests challenged by an independent byte oracle. 3 fn mo_emit h view uchar 32 to bool 4 ret eq write 1 h 0 32 32 5 end 6 fn main to int 7 h = new uchar 32 0 8 code = new uchar 16384 51 9 if ne mc_code code 16 edit h 0 10 ret 1 11 end 12 if not mo_emit h 13 ret 74 14 end 15 m = new ulong 32 0 16 s = new ulong 16 0 17 bank = new uchar 1024 17 18 qmd = new uchar 1024 34 19 mo_launch edit m edit s 20 mo_qmd m edit qmd 21 if ne mc_launch m bank qmd s edit h 0 22 ret 2 23 end 24 if not mo_emit h 25 ret 74 26 end 27 dm = new ulong 8 0 28 r = new ulong 1024 0 29 mo_dir edit dm edit r 30 if ne mc_dir dm r edit h 0 31 ret 3 32 end 33 if not mo_emit h 34 ret 74 35 end 36 for i ulong 8 37 put dm i 0 38 end 39 for i ulong 1024 40 put r i 0 41 end 42 mo_alloc edit dm edit r 43 if ne mc_alloc dm r edit h 0 44 ret 4 45 end 46 if not mo_emit h 47 ret 74 48 end 49 ret 0 50 end