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/gemmex/probe.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 / gemmex / probe.om` 27 lines · 519 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Test-only probe over om/gemmex/num.om (concatenate num.om first); exported as omega_gx_probe. 3 fn gx_probe op ulong a ulong to ulong 4 u = uint and a `4294967295` 5 if eq op 0 6 ret ulong bitcast uint gx_h2f u 7 end 8 if eq op 1 9 ret ulong bitcast uint gx_e4m3 u 10 end 11 if eq op 2 12 ret ulong gx_f2bf u 13 end 14 if eq op 3 15 ret ulong gx_f2h u 16 end 17 if eq op 4 18 ret gx_split u 19 end 20 if eq op 5 21 ret ulong bitcast uint gx_d2fo bitcast f64 a 22 end 23 if gx_bad shr a 32 u 24 ret 1 25 end 26 ret 0 27 end