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/gemm-any/ollm.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 / gemm-any / ollm.om` 35 lines · 984 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Own Omega LLM forward GEMM policy. Compose with host.om and gemm_ir.om. 3 note x is the existing gemm_host_plan wire: type rt ct wm wn stall mutant band M N K layout ... 4 note Inference only. Caller rounds finite f32 operands RNE to BF16 before PACK, never master weights. 5 note mode 0 keeps exact f32 FFMA; mode 1 selects BF16 with FP32 tensor accumulate. 6 note Decode uses 16x8/32 threads so D384 exposes 48 column CTAs rather than 3. 7 note Prefill uses the existing measured 64x128/256-thread default. Shared memory is zero. 8 note Tensor instruction grouping and FP32 epilogue are unchanged by geometry or double buffering. 9 fn gemm_ollm_cfg x edit ulong 32 mode ulong to ulong 10 if gt mode 1 11 ret 1 12 end 13 put x 0 3 14 put x 1 1 15 put x 2 1 16 put x 3 1 17 put x 4 1 18 put x 5 4 19 put x 6 0 20 put x 7 0 21 if eq mode 1 22 put x 0 0 23 if ge get x 8 64 24 put x 1 2 25 put x 2 4 26 put x 3 2 27 put x 4 4 28 put x 7 8 29 end 30 end 31 if eq gemm_host_cfg x 0 32 ret 1 33 end 34 ret 0 35 end