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/888cad3c49447c8f # 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 ## GitHub aien-dev/CUDApp#122 (code only) merged derived `888cad3c49447c8f` #122 Imported from GitHub aien-dev/CUDApp#122 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `4adc019e42c1e6d3b5a1fe4289855dc77f8d51e4` · Head `4adc019e42c1e6d3b5a1fe4289855dc77f8d51e4` - reviewed (COMMENTED) on - Train review (TrainC2, acting as Main's non-author reviewer). Head reviewed: `4adc019e42c1e6d3b5a1fe4289855dc77f8d51e4` (original head `8c861f49` + two review commits + a merge of main `7d1e19c`). Drift gate, fresh clone, omega-mv main `e5b32567` cloned fresh (`nice -n 19 taskset -c 10-14 tools/extract/drift.sh --self-test HEAD`): - at `8c861f49`: rc=0; at `8c861f49` merged locally onto main `7d1e19c` (after #117, #118, #102): rc=0; at `4adc019e`: rc=0. Lines at `4adc019e`: `control 1: red as required (Makefile)`, `control 2: red as required (src/omega_gpu_attention_api.c edited in a scratch Omega commit)`, `DIVERGENCE: 243 shared, 89 same, 154 differ (154 licence-header only, 0 code); 191 cudapp-only, 106 omega-only`, `DRIFT-GATE: PASS (540 GPU paths, omega e5b32567a7af, ...)`, `SELF-TEST: PASS (both controls red, real check green)`. - Note: omega-mv main is still the baseline commit `e5b32567`, so today's real check is green by construction; the two controls are what show the gate can go red. Negative control on the gate itself (C): mutated the drift condition in `check()` (`&& b[$1] != $4 {` -> `&& 0 {`, so it can never report). `--self-test` then gives rc=1: `control 1: BROKEN, gate stayed green with a tampered baseline for Makefile`, `control 2: BROKEN, gate stayed green after an Omega edit to src/omega_gpu_attention_api.c`, `SELF-TEST: FAIL`. Reverted. Defects fixed on the branch: - `92f7c1e`: #102 landed `ci.yml` `host-tests` (`make test`, judged by the final `CUDA++ HOST TESTS PASS` line) while this PR was open, so `host.yml` would have run `make test` a second time on every PR, without the verdict-line check. `host.yml` now builds and uploads `libomega_gpu.a` + identity only (job `library`). - `f2a7f3b`: the `drift.sh` header said control 2 "must name exactly that file"; the code checks that it names the file (`-ge 1` DRIFT lines), which is right because real drift at the same ref would add lines. The comment and the body now say that. - Body: the exit codes were wrong (a self-test failure exits 1, not 2); fixed, and the PENDING line replaced with the status. CI: at `8c861f49` all 5 green (drift run `40436196770`, build-and-test run `40436196826`, CodeQL). At `4adc019e` all green: drift (run `40451299890`), library (run `40451299910`), host-tests `make test` (run `40451299854`), hello-sim, runtime-api, CodeQL c-cpp/python/actions, sbom. Chip: not applicable (host CI and shell tooling; no chip claim). Language rule: shell/YAML only, no new C. Logs (Spark-local): /home/drakestapleton/handoffs/Train/TrainC2/logs/trainc2-122-{drift,drift-onmain,drift-head2,drift-head3,mutant}.log. Verdict: LAND. drakestapleton wrote on 2026-10-27 05:32 UTC Reproduced two bounded shell-tooling issues in `tools/extract/drift.sh`: (1) `diff | grep | grep -q` under `pipefail` classifies real code differences as licence-header-only because `diff` returns 1; (2) direct mode can print PASS after an invalid ref or baseline-read failure. The existing workflow self-test already rejects an invalid ref, so this is not a claim that that CI path was bypassed. The regression-tested follow-up is #133, non-draft and ready for maintainer review. All ten reported head checks are green, including `CUDA++ HOST TESTS PASS (40 targets)` on ARM. Exact head/test-tree and terminal CI receipt . It preserves the blob-based drift predicate and keeps hardware/runtime changes out of scope. Original failing and repaired passing receipts are committed there. No overlapping open drift repair was found before starting; nothing was merged or deployed. ### Code The head commit is on main: `4adc019e42c1e6d3b5a1fe4289855dc77f8d51e4` . ### 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 122 4adc019e42c1e6d3b5a1fe4289855dc77f8d51e4 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":122,"url":"https://github.com/aien-dev/CUDApp/pull/122","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:46Z","metadata":"unavailable","state_derived":true} ``` ### Changes There is no diff: the head commit is already on main.