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/gath32.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 / gath32.om` 22 lines · 369 bytes Raw Blame History 1 om2 2 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 fn argath32 rows view uint * x view uint * y edit uint * to ulong 4 if eq len rows 0 5 ret 0 6 end 7 k = div len y len rows 8 for r ulong `4294967296` 9 if ge r len rows 10 break 11 end 12 p = mul ulong get rows r k 13 d = mul r k 14 for c ulong `18446744073709551615` 15 if ge c k 16 break 17 end 18 put y add d c get x add p c 19 end 20 end 21 ret 0 22 end