interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / evidence / session-cmdlist-rest / 2026-11-06-repair / REPORT.md

67 lines · 7004 bytes Raw Blame History Source

PR #334 repair: session and command-list decisions

Stack: feat/session-cmdlist-rest-om, repairing fe565343a4950bc76bb0f56e4943558de22fb201, based on PR #304 feat/cmdlist-program-om at 581c048799f13b5b29a5172031c15889d6067672.

Corrections to the original report

The earlier 2026-11-06/REPORT.md is retained as historical evidence, not the current verdict. Its attribution of the command-list shell failure to unchanged #304 code was incorrect. The stale decision did not preserve its argument order, and operation 1 implemented an unrelated wait-argument predicate instead of the latch predicate. Both have been repaired in om/cmdlist/book.om; unused, uncalled wait helpers were removed. Latch generations retain the original uint32 wrap at UINT32_MAX.

Its description of the C oracle as default-OFF without qualification was also incomplete: OMEGA_GPU_NO_POSIX still selects C session/cmdlist decisions in this branch. The hosted path calls the new Omega units. This repair does not claim the freestanding session/cmdlist cutover.

Clean-head comparison

Created a separate detached worktree /tmp/session-cmdlist-base304 at the exact #304 head above, after querying gh pr view 304 and fetching its branch. Both checks ran before the repair:

Therefore neither reported failure is a #304 baseline failure. PR #329's 5643e397cc6549d97a5c527c704510f5758d09e6 changes /memfd recognition and alias-bound rounding in its platform-rest unit; it is not present here and was not needed to repair these failures. Both affected command-list reference cases now pass: CMDLIST_NEAR_CAP_SUBMITS_WITH_L2_INVAL_PENDING and CMDLIST_TIMEOUT_LATCHES_WITHOUT_LAUNCH_BEHIND_IT.

Repairs

The shared makefile recipe accepts both GPU_FS_OBJS and the separate GPU_NO_POSIX_OBJS interface used by the concurrent NO_POSIX lane; the latter is empty on this branch.

Execution and safety

Every build/test/mutant and generated-unit check used this wrapper, with at most three build jobs:

bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 \
  env OMEGA_OMC="$HOME/work/cudastack/omega-mv/seed/out/omc" \
      OMEGA_BRIDGE="$HOME/work/cudastack/omega-bridge" \
      make -j3 test-om-cmdlist test-gpu-session-mutants test-gpu-session-platform

The same wrapper surrounds sh om/units.sh and sh om/units.sh --check. Compiler: omega-mv e5b32567; omc SHA-256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. Outside dependency used only for checked conversion: the existing pinned Omega Bridge converter/frontend recorded in src/cudapp_om_units.ident. C test compilers and fake-driver simulators remain verification oracles.

The page-mask constant was checked with WolframLanguageEvaluator: {Integrate[x^2,{x,0,1}],2^64-4096,FromDigits["7c0",16]} -> {1/3,18446744073709547520,1984}. The evaluator and Alpha mount verification completed; these are modeled integer values, not hardware measurements.

Full make test, GPU, live RM, VFIO and hardware qualification: NOT_RUN. No service, driver state, gate, watchdog or historical receipt was changed. The draft is not merged or deployed.

Final verdicts

IMPLEMENTED and EXERCISED on the repaired lane:

AcceptanceResult
make -j3 test-om-cmdlist test-gpu-session-mutants test-gpu-session-platformPASS, overall rc 0; all three named targets completed
Omega session mutantsPASS, 16/16 behavior-killed, including 7 regenerated .om mutants
Freestanding session/platform fixturePASS, 16 passed, 0 failed
Hosted Linux reference with simulated driverPASS, 17 passed, 0 failed
VA-slot checksPASS, 10 passed, 0 failed
sh om/units.sh --checkPASS, rc 0, byte-for-byte regeneration
crumb compile . && crumb verify .PASS, rc 0; 41 crumbs current

acceptance.log records the final combined make run. units-check.log records reproducibility. crumb.log records the crumb result. Baseline logs retain the original complete output. Absolute home paths in these copied logs were normalized to ~.

harness-site-error.log records an intermediate harness error: an ambiguous open-while-latched pattern aborted with rc 2, without reporting that mutant killed. The site was then narrowed to its complete function prefix; the final run above is the passing evidence. This is a negative control for distinguishing a broken mutation site from a behavioral kill.

QUALIFIED on hardware, MERGED, DEPLOYED: NOT_RUN. Existing chip qualification procedures are unchanged.