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/evidence/tools-om/2026-11-06/README.md # 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 / evidence / tools-om / 2026-11-06 / README.md` 55 lines · 4701 bytes Raw Blame History Rendered 1 # tools-om receipt, 2026-11-06 2 3 Lane ToolsOm. Branch `feat/tools-om`. Host only. Chip NOT_RUN. Warp-sim NOT_RUN: this unit emits no kernel. 4 5 ## What moved 6 7 The dagsim post-resolve scheduler moved to `om/tools/dag_eval.om` and is the default. `ds_eval` packs the resolved model, calls `omega_dag_eval`, and unpacks. Parse, resolve, `rx_costmodel`, and printf stay in C. The old scheduler remains behind `CUDAPP_MIGRATION_PENDING_C_TOOLS` (default off) and is the differential oracle. 8 9 Generated binding: `src/cudapp_om_dag_eval.c`, declared in `src/cudapp_native.h`. Identity: 10 11 ``` 12 omega-ident 2 unit=dag_eval abi=bridge-seeded src=`3b3f4530c365cb33a12c629bc76763921779eb96cda5bf57587b7866baeccf08` c=`5864d515d6333e3d4592cf0cd27ca1c14bb60de2cff6098480552616a96449ce` omc=`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` converter=`69d629df170a24ba0c2cb6d41dbfaed520e248e0d723236dd32abf0581524d84` frontend=`23ff7a2356bb5d980060a4685a27ac46587013069b7d24b37c2873d7ee659b37` path=om/tools/dag_eval.om 13 ``` 14 15 `om/units.sh --check` with that omc pin: `PASS portable Omega units regenerate byte for byte`. 16 17 ## Host evidence 18 19 `make -j3 test-dagsim` (taskset 10-14, nice 10): 20 21 - `dagsim_unit: 203 checks, 0 failed` 22 - `tests/dagsim/run_cli.sh`: every existing invocation ok, including the second-run byte-identical check 23 - `mutant_lifetime.sh`: killed `inverted_lifetime_masks_overflow` 24 - `mutant_predict.sh`: killed `predict_unsupported_despite_known` and `predict_refused_despite_known` 25 - `mutant_omega.sh`: five `.om` mutants killed (cycle check, capacity precheck, lifetime check, ledger check, makespan update). A one-byte flip of a passing makespan record failed `cmp`. 26 27 Generated corpus, seed `20261106`, 1200 OEV files (200 each of chain, bandwidth, buffer, cycle, launch, barrier), Omega CLI against the C oracle built with `-O2 -ffp-contract=off -DCUDAPP_MIGRATION_PENDING_C_TOOLS`: 28 29 ``` 30 PASS n=1200 bad=0 kinds={'case_chain': 200, 'case_bw': 200, 'case_buf': 200, 'case_cycle': 200, 'case_launch': 200, 'case_barrier': 200} 31 ``` 32 33 The same corpus against a default-contraction C build mismatched on bandwidth counterfactuals. Rebuilding that oracle with `-ffp-contract=off` matched byte for byte, including the doubled-bandwidth fixture whose contracting build printed ``1051000000`` where the non-contracting build printed `1.051e+09`. Canonical semantics are the non-contracting result. The dagsim link line passes `-ffp-contract=off`. 34 35 ## Tiers 36 37 | tier | verdict | 38 |---|---| 39 | host unit + existing CLI | PASS | 40 | host corpus, 1200, non-contracting oracle | PASS | 41 | omega mutants, 5, plus record flip | PASS | 42 | warp-sim | NOT_RUN (no kernel) | 43 | chip / live-RM / VFIO | NOT_RUN (no window; no device path) | 44 | full `make test` | NOT_RUN (integrator gate) | 45 46 ## C that stayed C 47 48 - `tools/dagsim/dagsim.c` parse, resolve, and `rx_costmodel`. Resolve calls `rx_cm_predict`. Omega has no checked call into that C function. Extension: a named foreign-call host word with a pinned prototype, rejected unless the callee is in an allowlist. Until then the C wrapper packs resolved numbers and Omega schedules. 49 - `tools/dagsim/dagsim_cli.c` printf. The JSON formatter (`%.0f` / `%.6g`) stays in C so the CLI text is the C formatter applied to Omega's doubles. 50 - `tools/doctor/cudapp_doctor.c`. Program mode has `fopen`/`stat`/`read` (omega-mv@`e5b32567` host_words). The tool was not ported. Its output is a formatted checklist over `/proc`, `/sys`, and `/dev`. A faithful port has to match that text byte for byte, including `uname`. Not done in this change. 51 - `tools/artifact_export.c`. Calls artifact and codegen APIs owned by other lanes. ArtifactOm confirmed no source overlap. Omega cannot call those C functions. Same foreign-call extension as resolve. 52 - `tools/ampere_families.c`, `tools/ampere_corpus.c`. Bodies call other lanes' generators and write corpus files. Same foreign-call limit. The corpus refusal predicate (`op > BW_IR_MUFU_LG2`, explicit FP8 marker) is a few comparisons and was not split out. 53 - `tools/own30b_decode_profile.c`. `--wrap=omega_gpu_session_launch` recorder with static token tables. Function mode has no globals. Profiler confirmed no overlap with `tools/prof/`. This file is the thin C ABI shell the convention allows. 54 - `tools/interop/cubin_probe.c`, `compat/cuda/fixture/vadd_drv.c`. Link `libcuda` (`cuModuleLoadDataEx`, `cuLaunchKernel`, and the driver API fixture). ARCH-0042: CUDA++ owns GPU execution. These stay C. They are not an Omega launcher. 55 - `tools/multitarget/spirv-host.c`. Already behind `CUDAPP_MIGRATION_PENDING_SPIRV_HOST` (default off). Limit already recorded in the file: no checked shared-library call (extension E2, ADR 0043, omega-mv#888).