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/victim.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 / victim.om` 22 lines · 423 bytes Raw Blame History 1 om2 2 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 fn ar_vfree q view ulong 8 x view uchar * j ulong to ulong 4 b = mul j get q 1 5 if eq get x add b get q 2 0 6 ret 1 7 end 8 if eq get x add b get q 3 0 9 ret 1 10 end 11 ret 0 12 end 13 fn arvictim q edit ulong 8 x view uchar * to ulong 14 for i ulong get q 0 15 j = rem add get q 4 i get q 0 16 if ne ar_vfree q x j 0 17 put q 4 rem add j 1 get q 0 18 ret j 19 end 20 end 21 ret `18446744073709551615` 22 end