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/apirest/gargs.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 / apirest / gargs.om` 24 lines · 464 bytes Raw Blame History 1 om2 2 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 fn argargs va view ulong 5 sc view uint 2 y edit uint * to ulong 4 if lt len y 8 5 ret 1 6 end 7 for i ulong len y 8 put y i 0 9 end 10 for i ulong 3 11 put y mul i 2 uint and get va i `4294967295` 12 put y add mul i 2 1 uint shr get va i 32 13 end 14 put y 6 get sc 0 15 put y 7 get sc 1 16 if ge len y 12 17 for i ulong 2 18 v = get va add i 3 19 put y add 8 mul i 2 uint and v `4294967295` 20 put y add 9 mul i 2 uint shr v 32 21 end 22 end 23 ret 0 24 end