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/acc.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 / acc.om` 15 lines · 451 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Host verification reference: separate f64 accumulation and magnitude to fit six native slots. 3 fn aracc w view uchar * sc view ushort * x view f32 * to ulong 4 s = f64 0 5 for i ulong `4294967296` 6 if ge i mul div len x 128 128 7 break 8 end 9 p = f64 bitcast f32 refb uint get w i 10 p = mul p f64 get x i 11 p = mul p f64 bitcast f32 shl uint get sc div i 128 16 12 s = add s p 13 end 14 ret bitcast ulong s 15 end