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
CUDApp / evidence / codegen-pfhost-admit-20261106 / README.md
| 1 | # PFHOST admission migration — 2026-11-06 |
| 2 | |
| 3 | Base: `feat/omega-codegen-pfhost` at `1a56f317002e`. |
| 4 | IMPLEMENTED: `omega_rl_spec_ok`, `omega_rl_shared_bytes`, `omega_mc_spec_ok` |
| 5 | now call strong seeded `omega_pf_admit`. Old C exists only with default-OFF |
| 6 | `CUDAPP_MIGRATION_PENDING_C_CODEGEN_PFHOST_ADMIT=1`. Instruction generation |
| 7 | is unchanged. Public headers/API/manifest intentionally unchanged. |
| 8 | |
| 9 | Files: `om/codegen/pf_admit.om`, unit registry and generated binding/header/ident, |
| 10 | `src/omega_blackwell_codegen_pfhost.c`, `mk/codegen-pfhost.mk`, three |
| 11 | `tests/codegen_pfhost_admit_*` drivers, ROADMAP note and this receipt. |
| 12 | |
| 13 | ## Commands and observed results |
| 14 | |
| 15 | Every runtime command below ran with: |
| 16 | |
| 17 | ``` |
| 18 | bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 |
| 19 | ``` |
| 20 | |
| 21 | * `make -s -j3 test-codegen-pfhost-admit`: rc 0, |
| 22 | `PFHOST-ADMIT-DIFF PASS cases=656275`, then the intentional red returns 1 |
| 23 | at case 1 and `PFHOST-ADMIT-RED PASS`. |
| 24 | * `env OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc OMEGA_BRIDGE=~/work/cudastack/omega-bridge make -s -j3 test-codegen-pfhost build/gpu_pfhost_test`: |
| 25 | rc 0, `PASS pfhost exhaustive IR, allocation and encoded-byte differential rl=19150 mc=384 matching_refusals=50`; |
| 26 | record-flip negative caught; final `PASS pfhost Omega source mutants killed`. |
| 27 | * `make -s -j3 test-codegen-pfhost-admit-mutants` with the same tool environment: |
| 28 | rc 0, `PFHOST-ADMIT MUTANTS PASS (7 killed)`; |
| 29 | `PFHOST-ADMIT STRONG-LINK PASS`. |
| 30 | * `make -s -j3 test-codegen-pfhost-admit-cubin`: rc 0, |
| 31 | `PFHOST-ADMIT-CUBIN-IDENTITY PASS cases=11 matching_refusals=1`. |
| 32 | Both accepted containers are compared byte-for-byte. The one matching |
| 33 | allocator refusal produces no container, and is not counted as identity. |
| 34 | * `build/gpu_pfhost_test --host-only`: rc 0, final `GPU_PFHOST: PASS`. |
| 35 | * `build/gpu_pfhost_test --sim`: rc 0, final `GPU_PFHOST: PASS`. |
| 36 | |
| 37 | The first new cubin driver incorrectly required every spec-admitted kernel to |
| 38 | survive register allocation. The existing family differential separately |
| 39 | records matching allocation refusals. The corrected driver requires equal |
| 40 | return codes, exactly eleven accepted cubins and one matching refusal. |
| 41 | |
| 42 | The spec partition covers every accepted K/E/tile/mutant tuple and H/top-k |
| 43 | choice, plus source-derived transition values v-1/v/v+1, zero, UINT32_MAX, |
| 44 | and negative/out-of-range signed mutant values on each scalar axis. |
| 45 | |
| 46 | | Omega mutation | Verdict | |
| 47 | | --- | --- | |
| 48 | | mutant upper bound 2 → 1 | KILLED | |
| 49 | | combine H ceiling 4096 → 2048 | KILLED | |
| 50 | | combine top-k floor 4 → 8 | KILLED | |
| 51 | | router K ceiling 16384 → 8192 | KILLED | |
| 52 | | router E ceiling 1024 → 128 | KILLED | |
| 53 | | tile divisor 32 → 16 | KILLED | |
| 54 | | shared multiplier 512 → 256 | KILLED | |
| 55 | |
| 56 | Compilation/link failures are errors, not kills. Strong-link control renames |
| 57 | the only implementation and requires an unresolved `omega_pf_admit`. |
| 58 | The compiler/converter pins in `om/units.sh` are unchanged. Seeded omc is |
| 59 | `omega-mv e5b32567`, SHA-256 |
| 60 | `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. |
| 61 | |
| 62 | ## Tiers and remaining gates |
| 63 | |
| 64 | Host/spec partition, family encoded identity, full-container identity and |
| 65 | simulator: PASS. Chip/live RM/VFIO/hardware: NOT_RUN. MERGED/DEPLOYED: no. |
| 66 | Full `make test` belongs to the integrator and was not run here. |
| 67 | |
| 68 | ## Chip runbook — NOT_RUN |
| 69 | |
| 70 | Only after the operator grants an exclusive GPU window, run the existing |
| 71 | `gpu_pfhost_test` hardware mode with the current window procedure. Bind the |
| 72 | receipt to this source revision; compare router and combine output and all |
| 73 | existing negative selectors. A host result is not chip qualification. No |
| 74 | service, GPU lock, module or live device was touched for this work. |