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/37dfb080473a5f5c # 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#125 (code only) merged derived `37dfb080473a5f5c` #125 Imported from GitHub aien-dev/CUDApp#125 (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 `f96849b2bec531b25362a2cbceb17bec202aa369` · Head `f96849b2bec531b25362a2cbceb17bec202aa369` - reviewed (COMMENTED) on - ## TrainCarry review (non-author), head `f96849b2bec531b25362a2cbceb17bec202aa369` (TrainCarry2) Defects found and fixed on this branch - `1287727`: `make test` stopped at `No rule to make target 'src/omega_om_units.c', needed by 'build/gpu_serving_alloc_count_test'`; the carried mk/omega-gpu-engine.mk names omega-mv's Omega-built sha256 unit, which CUDApp does not have. The rules keep CUDApp's `src/sha256.c`. - `461e8bf`, `cc22c51`, `d574140`, `f96849b`: merges of #121 (Runtime API 0.5.0); the last two bring #121's merge of #120 at `3f21f4f` (main `67f3135`, #101 Q6) and its fix `12d9c8c`. - `edc1a96`: `make test` stopped at `test-runtime-portability-check` with 21 `FAIL: no row in the table for src/...` lines (gemm, scan, head_dim 256 attention, Gated DeltaNet, q36/q38 graph files the carries brought). Added 21 CHIP_SPECIFIC rows, os_binding from the include scan (15 NO_HOSTED_INCLUDE, 6 HOSTED_LIBC); PORTABILITY.md counts updated. `make test-runtime-portability`: `PASS: 123 rows ...` and `ALL CONTROLS BEHAVED AS REQUIRED` (e.g. `CONTROL freestanding-claim-broken: FAIL as required`). - The nvrm/ update itself: nvrm.h and lifecycle_gates.c equal physics `048e5f5e` plus the SPDX line (checked against `gh api repos/aien-spark/physics/contents/nvrm/?ref=048e5f5e`: 0 differing lines). nvrm.c is that pin plus #101's main hunks (va_slot_units/va_slot_cover RtMem F5, F12 descriptor clearing in nvrm_close): 38 added + 4 changed lines; `git diff origin/main -- nvrm/nvrm.c` removes only `nvrm_channel` (replaced by the multi-channel API), nothing of #101. Body corrected (it said "verbatim"). Host gates (fresh clone `/home/drakestapleton/work/Train/TrainCarry/f125d` at `f96849b2bec531b25362a2cbceb17bec202aa369`, `nice -n 19 taskset -c 10-14`, 2026-10-27T05:38:59Z-05:52:05Z; logs `/home/drakestapleton/work/Train/TrainCarry/logs/pr125d-*.log`) - `make -j4` rc=0 - the carried chip-gate binaries (hello_gpu ... gpu_streams_test; gpu_scan_test is not in this tree, it comes with #112) rc=0 - `make test` rc=0: `CUDA++ HOST TESTS PASS (46 targets)`; inside it `test_omega_gpu_platform_linux (reference only, simulated driver): 14 passed, 0 failed` (incl. `PASS QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED`, `PASS EXTRA_QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED`) and test_nvrm_va_slots `SUMMARY passed=10 failed=0` - `make zero-cuda-gate` rc=0: `ZERO_CUDA PASS build/gpu_matmul_api_test needs=[libc.so.6 ld-linux-aarch64.so.1]` - `make test-native-artifact` rc=0: `test_gpu_artifact_export: 47 checks, 0 failed` - `make test-runtime-api test-runtime-api-semver RUNTIME_API_BASE=origin/main` rc=0: `RESULT: PASS (runtime API 0.5.0: 294 functions, 44 structs, 407 fields, 208 constants match the headers; surface 682 names, 180 INTERNAL)`, `RESULT: PASS (every negative control was caught)`, `RESULT: PASS (version 0.3.0 -> 0.5.0; the entry changes need MINOR (MAJOR-class under major version zero))` - GitHub CI at `f96849b`: host-tests, hello-sim, library, runtime-api, drift, sbom all SUCCESS. Merge order (Main-approved 2026-10-27): bottom-up. #125 into carry/omega-main-`e5b32567`, then #121 into carry/live-`6de999da`, then #120 into main. #120 alone is CI-red (host-tests: `tests/gpu_gpr_boundary_test.c:49:11: error: missing initializer for field 'sched'`, run `40455750741`) and #121 alone does not compile (`NVRM_MAX_EXTRA_CHANNELS` undeclared until this PR's nvrm/). Top-down would leave main red between merges; bottom-up gives every merge a green head and main one commit whose tree is the gated `f96849b` tree. Negative control: #121's Q6 resolution at this tip (`logs/pr121-negctl.log`): mutant `(slot >= 0 ? 0u : r->inflight)` fails EXTRA_QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED (13 passed, 1 failed); mutant `(slot >= 0 ? r->xinflight[slot] : 0u)` fails QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED (11 passed, 3 failed); reverted: 14 passed. Also the portability controls above; the runtime API controls as on #120; at `cc22c51` (before `edc1a96`) the same `make test` failed at the portability check, which is the red this commit fixes. Chip: no small-list gate applies; P0.4 golden tokens NOT_RUN (exclusive window). Guide check: no omega-harness skill names the portability row count; nothing to update for this PR beyond #120's. Verdict: LAND (first to merge, bottom-up; the first green head of the chain). ### Code The head commit is on main: `f96849b2bec531b25362a2cbceb17bec202aa369` . ### 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 125 f96849b2bec531b25362a2cbceb17bec202aa369 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":125,"url":"https://github.com/aien-dev/CUDApp/pull/125","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.