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/patches/e71414d71703ca3c # 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 ## drift: record omega `a64e6705a`'s portability doc blobs (main drift check red) merged `e71414d71703ca3c` #372 · opened 2026-11-07 06:13 UTC · closed 2026-11-15 14:36 UTC · merged 2026-11-15 14:36 UTC Imported from GitHub aien-dev/CUDApp#372, by drakestapleton Base `b774723f537cec16a359fe082b8100317a5b5490` · Head `84f729dec17d9b6981c6bfa815b92c1380c1bf72` Merged on GitHub as `83e9d1723e13a5433d1d7e9151d5f85b3ffd2e8c`; reachable from main `21d8de285f713adf09e0d6ba6db2b37139d0674e` (observed 2026-11-18T16:38:19Z) drakestapleton wrote on 2026-11-07 06:13 UTC ## What The `drift` check is red on CUDApp main (`b774723f`) and on every open PR. omega-mv#596 (`a64e6705a`) changed `docs/runtime/PORTABILITY.md` and `docs/runtime/portability_table.tsv`: it added rows for the trainer bf16 GEMM files (`src/omega_blackwell_codegen_tgemm.{c,h}`, `src/omega_gpu_tgemm_api.{c,h}`) and updated the totals. CUDApp's table already has those four rows with the same `class` and `os_binding` (CHIP_SPECIFIC, NO_HOSTED_INCLUDE), plus its own totals and Ampere rows, so the two copies stay different on purpose. Following the precedent in `61d8bac` and `b23ec6e`, this records Omega's new blobs in `tools/extract/drift-baseline.tsv`, with a comment explaining why the copies differ. A second commit adds the current table totals to CUDApp's `PORTABILITY.md` (it only stated historical totals): 150 rows, 137 CHIP_SPECIFIC, 13 PORTABLE; 13 FREESTANDING_PROVEN, 114 NO_HOSTED_INCLUDE, 18 HOSTED_LIBC, 5 LINUX_DRIVER, counted from the table. ## Evidence (host, `tools/extract/drift.sh --self-test` against omega-mv main `943d9555`) rc Result Before (main `b774723f`) 1 `DRIFT docs/runtime/PORTABILITY.md`, `DRIFT docs/runtime/portability_table.tsv`, `DRIFT-GATE: FAIL (2 of 939)`, `SELF-TEST: FAIL` After (this branch) 0 controls 1, 2 and 3 (x4) all red as required; `DRIFT-GATE: PASS (939 GPU paths)`; `SELF-TEST: PASS` `crumb verify .`: OK, 39 crumbs current (`tools/extract/.crumb` recompiled). `make test-runtime-portability`: rc 0, ALL CONTROLS BEHAVED AS REQUIRED. ## After merge The drift check reads the baseline from each PR's own checkout, so open PRs (#367, #368, ...) go green only after they merge or rebase onto a main that contains this change. #365 also edits `tools/extract/drift-baseline.tsv` and `.crumb`; whichever lands second must rebase. ## Not done No change to the drift gate logic. Exact-head CI is pending. Agent: omp-queen-spark (OMP coordinating session). Queen-authored, so a non-queen desk must review and merge it (desk rule 4). ### Apply it ``` git checkout -b patch-e71414d71703ca3c b774723f537cec16a359fe082b8100317a5b5490 curl -fsSL https://interplane.io/drakestapleton/CUDApp/patches/e71414d71703ca3c.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/CUDApp 372 84f729dec17d9b6981c6bfa815b92c1380c1bf72 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":372,"url":"https://github.com/aien-dev/CUDApp/pull/372","export_sha256":"0aafd51b77ff5776d6baaf9b88b48c8b36a6e27c8d829ae8ded561b71712b17a","imported_utc":"2026-11-18T16:38:19Z"} ``` ### Changes ``` diff --git a/docs/runtime/PORTABILITY.md b/docs/runtime/PORTABILITY.md index 4962bd41..ad476953 100644 --- a/docs/runtime/PORTABILITY.md +++ b/docs/runtime/PORTABILITY.md @@ -39,7 +39,9 @@ r2 #972) adds 5 `CHIP_SPECIFIC` rows (`src/omega_bw_hazard.{c,h}`, omega-mv#554; `src/omega_gpu_fp8_internal.h`, #961) and carries omega's review of the public headers (#954): `omega_gpu_matmul_api.h`, `omega_gpu_moe_api.h`, `omega_gpu_platform.h`, `omega_gpu_serving.{c,h}` and `omega_gpu_session.h` become `CHIP_SPECIFIC`, `omega_gpu_scan_ref.c` becomes `PORTABLE` (section 3). At that sync, the totals were 120 `CHIP_SPECIFIC`, 11 `PORTABLE`; 13 -`FREESTANDING_PROVEN`, 98 `NO_HOSTED_INCLUDE`, 17 `HOSTED_LIBC`, 3 `LINUX_DRIVER`. Command to recount: section 7. +`FREESTANDING_PROVEN`, 98 `NO_HOSTED_INCLUDE`, 17 `HOSTED_LIBC`, 3 `LINUX_DRIVER`. Current totals at CUDApp main b774723f +(150 rows, including the Ampere files and the four bf16 training GEMM rows, omega-mv#596): 137 `CHIP_SPECIFIC`, 13 `PORTABLE`; +13 `FREESTANDING_PROVEN`, 114 `NO_HOSTED_INCLUDE`, 18 `HOSTED_LIBC`, 5 `LINUX_DRIVER`. Command to recount: section 7. `make test-runtime-portability` (host only, no compiler, no GPU) checks the table against the tree: every file has a row, every row names a real file, a `PORTABLE` row's file includes no Linux or NVRM header and no Blackwell header, and the diff --git a/tools/extract/.crumb b/tools/extract/.crumb index 5dbaf6b6..aafdb3e1 100644 --- a/tools/extract/.crumb +++ b/tools/extract/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-11-05T17:26:33Z", + "compiled_at": "2026-11-07T06:13:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:465bf113f5d6a567341bfc033c682346c4f4507749bbd5cf17ec1be0c12485bc", + "digest": "sha256:5ac98a35fe8c7284ad357f8c0f153aa038b1994744e956fe2c4e54ba18d67705", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 30, - "generated_at_commit": "afc6ff5af097c67bbf9b337b153c11a47b599276", - "source_tree": "sha256:e1df5a9540d67fab3dea33f76b0a0c25718b277a2fa0fb4fde2a3aa3794a7541" + "generated_at_commit": "69fcb7d6906d6cb9e4643180453e808e26cd8f09", + "source_tree": "sha256:ecefaa118ecc0b250b6e149f902512229685c4aecf22d4fb2dac287a249bf94a" } }, "name": "extract", diff --git a/tools/extract/drift-baseline.tsv b/tools/extract/drift-baseline.tsv index 5ad90ea4..4490d44a 100644 --- a/tools/extract/drift-baseline.tsv +++ b/tools/extract/drift-baseline.tsv @@ -32,9 +32,11 @@ # mk/omega-gpu-engine.mk is omega 37fa50340345's blob (omega-mv #966). #966 swaps omega's freestanding C SHA-256 (src/omega_sha256_fs.c, test-sha256-fs-parity) for the bridge's freestanding Omega binding (src/omega_om_units_fs.c, test-sha256-freestanding-parity). CUDA++ never carried that C path: its GPU_FS_SRCS link src/sha256.c beside CUDAPP_FS_BINDING from its own om/units.sh at bridge 3dc4a00e, so the delta is not ported here; adopting the Omega SHA-256 binding needs that bridge pin moved. Any later omega edit to the file must still fail. Makefile 7e1426b3be2281979d00ac550a9397f913a38c30 docs/runtime/API.md 9f5f34321bfb3f8623623ca9a174b68e3ff3c3ed -docs/runtime/PORTABILITY.md 7b923a91e12f7f2e5c5954d80293517e19e8c959 +# docs/runtime/PORTABILITY.md and portability_table.tsv are omega a64e6705a's blobs (omega-mv#596: rows for the trainer bf16 GEMM files src/omega_blackwell_codegen_tgemm.{c,h}, src/omega_gpu_tgemm_api.{c,h}; unchanged through omega 943d9555). +# The CUDA++ table already has those four rows with the same class and os_binding (CHIP_SPECIFIC, NO_HOSTED_INCLUDE) and its own totals and Ampere rows, so the blobs differ. +docs/runtime/PORTABILITY.md fb0d5f0ff5278a662934f79027aa5f398d9a4abe docs/runtime/omega_runtime_api.manifest d02c0ebe0b6df7d4d8f52b51942dccd76cc8ec2d -docs/runtime/portability_table.tsv 7d927220d172fafa6135fbb9069683c5a3030119 +docs/runtime/portability_table.tsv 798227e5bcf362a92cd303bc817b15a89738935d evidence/C3-GEMM/01-host-only.log c581c5126718bc24ef10ed1b1637528018a260e5 evidence/C3-GEMM/02-sim.log fd97da9f29871abfc16fb2ed938c38a4d3c2314f evidence/C3-GEMM/README.md 0e730a9bf2072f34d59d9cdc1961f4112a7ff90e ```