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/apiviews/scancarry.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 / apiviews / scancarry.om` 15 lines · 347 bytes Raw Blame History 1 om2 2 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 note Cross-tile carry: preserve tot[tile - 1] + out[e], including signed zeros. 4 fn ar_carry src view f32 * dst edit f32 * to ulong 5 n = len dst 6 if lt len src div add n 31 32 7 ret 1 8 end 9 e = ulong 32 10 while lt e n 11 put dst e add get src sub div e 32 1 get dst e 12 e = add e 1 13 end 14 ret 0 15 end