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/native/learn53/wire.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 / native / learn53 / wire.om` 42 lines · 611 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Public data-only frame decoder. Not a sandbox or task-custody service. 3 global packet uchar 5137 4 fn kp p ulong to ulong 5 v = ulong 0 6 for j ulong 4 7 v = or v shl ulong get packet add p j mul j 8 8 end 9 ret v 10 end 11 fn kframe n ulong to int 12 if lt n 8 13 ret 65 14 end 15 if gt n 5136 16 ret 65 17 end 18 t = kp 0 19 if lt t 96 20 ret 65 21 end 22 if gt t 4096 23 ret 65 24 end 25 if gt t sub n 8 26 ret 65 27 end 28 c = kp add t 4 29 if gt c 1032 30 ret 65 31 end 32 if ne n add add t c 8 33 ret 65 34 end 35 for i ulong t 36 put kt i get packet add i 4 37 end 38 for i ulong c 39 put ko i get packet add add t 8 i 40 end 41 ret keval t c 42 end