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/om/graph/aux.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 / om / graph / aux.om` 51 lines · 801 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Standalone decode glue and debug-read gather use the same packed wire ABI as layer nodes. 3 fn mg_aux c view ulong 16 v view ulong 16 d edit ulong 64 to ulong 4 for i ulong 64 5 put d i 0 6 end 7 put d 2 1 8 put d 3 1 9 put d 4 get c 3 10 if eq get c 0 0 11 put d 5 12 12 if eq get c 1 4 13 put d 1 0 14 put d 6 0 15 else 16 if eq get c 1 1 17 put d 1 1 18 put d 6 4 19 else 20 if ne get c 1 6 21 ret 0 22 end 23 put d 1 2 24 put d 6 9 25 if eq get c 2 2 26 put d 1 7 27 end 28 end 29 end 30 ret gr_pack v d 1 31 end 32 if eq get c 0 1 33 put d 1 3 34 if eq get c 2 1 35 put d 1 6 36 end 37 put d 2 div get c 4 256 38 put d 3 get c 5 39 put d 4 mul get c 4 get c 5 40 put d 5 5 41 put d 6 7 42 ret gr_pack v d 2 43 end 44 if ne get c 0 2 45 ret 0 46 end 47 put d 3 div add get c 7 sub get c 6 1 get c 6 48 put d 4 mul get d 3 get c 6 49 put d 5 6 50 ret gr_pack v d 4 51 end