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/d5ecbc65e32cdfd7 # 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#120 (code only) merged derived `d5ecbc65e32cdfd7` #120 Imported from GitHub aien-dev/CUDApp#120 (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 `34cd02de567394e88aa025549967dbc014bc6760` · Head `34cd02de567394e88aa025549967dbc014bc6760` github-advanced-security[bot] commented on `src/omega_blackwell_codegen.c` line 1023 on 2026-10-27 06:09 UTC ## CodeQL / Uncontrolled data used in path expression This argument to a file access function is derived from user input (an environment variable) and then passed to open(__file). Show more details github-advanced-security[bot] reviewed (COMMENTED) on 2026-10-27 06:09 UTC - reviewed (COMMENTED) on - ## TrainCarry review (non-author), head `34cd02de567394e88aa025549967dbc014bc6760` (TrainCarry2; = #121's merge into this branch) Provenance: re-running tools/carry.sh on omega-mv `6de999da` reproduces cut tip `2bf00278`, the merge's second parent (checked in the earlier non-author review); the file map is in the PR. Defects found and fixed on this branch - `d66fdd8`: merge of origin/main `7d1e19c`. - `ec14f28`: the carry raises `OMEGA_GPU_HANDLE_SLOTS` 1024→4096 and `OMEGA_GPU_CMDLIST_MAX_LAUNCHES` 2048→4096 (live values); #117's `make test-runtime-api` failed on 9 manifest lines. Declared as a Runtime API version bump; API.md §2 now follows semantic versioning 2.0.0 item 4 (while MAJOR is 0, a MAJOR-class change takes a MINOR bump; from 1.0 it needs MAJOR). `tools/runtime_api_semver.sh` applies the 0.x clause only when the base major is 0; an unbumped change always fails. - `f9ddd1e`: merge of origin/main `bd8ac4e` (#124, Runtime API 0.3.0). #124 put the decode-path headers under the manifest, which flagged 33 undeclared carried names: 27 declared EXPERIMENTAL (§9.7 table), 6 INTERNAL with #124's reason strings. This carry is Runtime API 0.4.0. - `3f21f4f` (TrainCarry): merge of origin/main `67f3135` (#99 #101 #103 #105 #100 #111). That head alone is CI-red: host-tests `tests/gpu_gpr_boundary_test.c:49:11: error: missing initializer for field 'sched' of 'OmegaFp8GemvSpec'` (run `40455750741`); the fix (`62008d6`, named initializers) is in #121. - `34cd02de567394e88aa025549967dbc014bc6760`: #121 merged into this branch (bottom-up order). This head's tree equals the gated #125 tip `f96849b` (`git diff --stat f96849b 34cd02de567394e88aa025549967dbc014bc6760` empty), so the PR brings Runtime API 0.5.0 to main (0.3.0 -> 0.5.0, one MINOR-class step under major version zero; 0.4.0 is the intermediate carry version recorded in API.md). Earlier commands (clone pr120 at `f9ddd1e`, superseded by the host gates below; `nice -n 19 taskset -c 10-14`) - `make test-runtime-api` rc=0: `RESULT: PASS (runtime API 0.4.0: 287 functions, 44 structs, 406 fields, 208 constants match the headers; surface 672 names, 177 INTERNAL)` and `RESULT: PASS (every negative control was caught)` - `make test-runtime-api-semver RUNTIME_API_BASE=origin/main` rc=0: `RESULT: PASS (version 0.3.0 -> 0.4.0; the entry changes need MINOR (MAJOR-class under major version zero))` Negative controls (tools/runtime_api_negative.sh, same run), including the two added for the 0.x rule: - `NEGATIVE CONTROL semver-removed-stable-unbumped-under-zero: FAILED as it must (needs at least a MINOR bump)` - `NEGATIVE CONTROL semver-removed-stable-minor-only-at-one: FAILED as it must (needs a MAJOR bump)` - `POSITIVE CONTROL semver-removed-stable-minor-under-zero: PASSED as it must` - plus the 14 existing header/manifest controls and 5 semver controls, all caught. Chain: #120, #121 and #125 merge back to back. Each lower head alone is not claimed green: the carried tree needs #125's nvrm/ update (`omega_gpu_platform_linux.c` uses the L136 extra-channel API), its sha256 rule fix (`1287727`) and its portability rows (`edc1a96`). The host gates below ran at #125's tip, which contains this head. Host gates, run at #125's tip `f96849b`, whose tree this head equals (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`, and again at this head `34cd02d`: host-tests (12m10s), hello-sim, library, runtime-api, drift, sbom, Analyze (actions/c-cpp/python) pass. - CodeQL at this head: 1 new alert, `cpp/path-injection` at `src/omega_blackwell_codegen.c:1023` (`omega_kernel_dump`, carried from omega-mv C6): the dump directory comes from `OMEGA_KERNEL_DUMP_DIR`. Not fixed, explained: the variable is set by the user running the process (no privilege boundary is crossed), it is unset in normal use, and the file is created `O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC` mode 0600 with a hash-derived name; main already carries open alert #40 of the same rule for the env-driven path in `src/omega_gpu_platform_linux.c:207`. CodeQL is not a required check here (mergeStateStatus UNSTABLE, not BLOCKED). Dismissing the alert is left to the repo owner. - Pre-merge: `gh pr view 120 --json mergeStateStatus` = UNSTABLE (CodeQL only), mergeable MERGEABLE; `git diff --stat f96849b 34cd02d` is empty; origin/main `67f3135` is an ancestor of the head. 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. A fresh-clone host-gate run on main's new HEAD follows the merge (posted on BOARD). Chip: no small-list chip gate applies to a source carry. The P0.4 acceptance gate named in the body (golden tokens: a server built from this tree against the live one) is NOT_RUN: it needs a second 35B beside the live server, which waits for Drake's exclusive window. This review claims host evidence only. Guide check: `git grep -i 'runtime api|semver|cudapp'` on aien-dev/omega-harness main and the managed cudapp-hardware-qualification skill: no skill states the CUDA++ Runtime API version or its bump rule, so none needs updating (the rule lives in CUDApp docs/runtime/API.md §2). Verdict: LAND (last to merge, bottom-up; main moves from Runtime API 0.3.0 to 0.5.0). ### Code The head commit is on main: `34cd02de567394e88aa025549967dbc014bc6760` . ### 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 120 34cd02de567394e88aa025549967dbc014bc6760 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":120,"url":"https://github.com/aien-dev/CUDApp/pull/120","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.