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/fp8x.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 / fp8x.om` 13 lines · 324 bytes Raw Blame History 1 om2 2 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 note Fold f32 x by 2^64. WolframLanguageEvaluator: bits32[2^64] -> `1602224128`. 4 fn av_fp8x src view f32 * dst edit f32 * to ulong 5 if ne len src len dst 6 ret 1 7 end 8 fold = bitcast f32 uint `1602224128` 9 for i ulong len src 10 put dst i mul get src i fold 11 end 12 ret 0 13 end