TrainCarry review (non-author), head f04a9d74f2c0ce78c48ec50f07d1e1548af3a2c3 (TrainCarry2; = #125's merge into this branch)
Provenance: re-running carry.sh on omega-mv e5b32567 reproduces cut tip e60d98c5, the merge's second parent; git cherry e5b32567 f792cd1d is all - (the C4/C5 line is already in).
Defects found and fixed on this branch
- e08de6c: merge of #120's branch.
- 8e924c4: the carried C4/C5 surface was undeclared (
make test-runtime-apiFAIL). Declared EXPERIMENTALomega_gpu_cmdlist_submit_pair,omega_gpu_cmdlist_wait_for,OmegaGpuCmdListOpts.first_barrier_none,omega_gpu_session_extra_queue,omega_gpu_session_recover,omega_gpu_session_recoveries; INTERNALomega_gpu_session_latch_uncertain,omega_gpu_session_note_module_latch. - b1b4d92 (TrainCarry2): merge of #120 at 3f21f4f (main 67f3135, which brings #101's CudaAuditFable Q6). Conflict in
src/omega_gpu_platform_linux.cref_queue_submit/ref_queue_retire, Q6 in-flight refusal vs L136 extra channels. Resolved per queue:caps.max_inflightis "jobs in flight per queue" and every extra-channel ring is also rewritten from offset 0, so each extra queue gets its ownxinflight[slot]with the same REFUSED_BUSY before any copy or doorbell; retire clears it (driver retire only when something is in flight); channel 0 keeps #101's code. New host caseEXTRA_QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED(fake driver gainsfk.extra_channels). The extra-queue refusal is host-only (simulated driver), NOT_RUN on the GB10. - 12d9c8c (TrainCarry2): b1b4d92 left a stray
}from the resolution and did not compile; removed. (It was pushed before compiling; the #125 tip caught it.) - f04a9d7: #125 merged into this branch (bottom-up order, below), bringing the nvrm/ update, the sha256 rule and the portability rows;
git diff --stat f96849b f04a9d7is empty. - e15047d: merge of #120 at f9ddd1e (0.4.0); this carry becomes Runtime API 0.5.0. Also declares
omega_gpu_fp8_grouped_ctas_rule/_auto(EXPERIMENTAL) andOMEGA_GPU_SM_COUNT(INTERNAL), which e5b32567 adds to a header #124 put under the manifest (the check failed on exactly these three before the fix).
Earlier commands (clone pr121 at e15047d, superseded by the host gates below)
make buildrc=0make test-runtime-apirc=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)make test-runtime-api-semver RUNTIME_API_BASE=origin/carry/live-6de999darc=0: sixMINOR: ... added (EXPERIMENTAL)lines,RESULT: PASS (version 0.4.0 -> 0.5.0; the entry changes need MINOR)
Negative control: Q6 resolution (logs/pr121-negctl.log, at f96849b): 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. API: before the fix, the same check at the merge failed with FAIL: undeclared public entry ...: const OMEGA_GPU_SM_COUNT and the two fn omega_gpu_fp8_grouped_ctas_* lines; the control suite (including the 0.x semver controls) is caught as in #120.
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 -j4rc=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 testrc=0:CUDA++ HOST TESTS PASS (46 targets); inside ittest_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_slotsSUMMARY passed=10 failed=0make zero-cuda-gaterc=0:ZERO_CUDA PASS build/gpu_matmul_api_test needs=[libc.so.6 ld-linux-aarch64.so.1]make test-native-artifactrc=0:test_gpu_artifact_export: 47 checks, 0 failedmake test-runtime-api test-runtime-api-semver RUNTIME_API_BASE=origin/mainrc=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 f04a9d7: host-tests, hello-sim, library, runtime-api, drift, sbom all pass.
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.
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. C4/C5 chip behaviour is reviewed on #113/#119, not here.
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 (second to merge, bottom-up). Runtime API on this branch: 0.5.0.