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/pfcopy.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 / pfcopy.om` 21 lines · 369 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 fn arpfcopy q view ulong 4 w view uchar * y edit uchar * to ulong 3 for p ulong `4294967296` 4 if ge p get q 0 5 break 6 end 7 src = p 8 if eq get q 2 1 9 src = swsrc uint p uint get q 0 10 end 11 a = mul src get q 1 12 b = mul p get q 1 13 for c ulong `4294967296` 14 if ge c get q 1 15 break 16 end 17 put y add b c get w add a c 18 end 19 end 20 ret 0 21 end