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

GitHub aien-dev/CUDApp#117 (code only)

merged derived 3c68a58c4e11fb04 #117

Imported from GitHub aien-dev/CUDApp#117 (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 bcf8ce0f5ab8d51f4c9d0508547b8c4d904fbdd9 · Head bcf8ce0f5ab8d51f4c9d0508547b8c4d904fbdd9

- reviewed (COMMENTED) on -

Train review (TrainC2, acting as Main's non-author reviewer). Head reviewed: bcf8ce0f5ab8d51f4c9d0508547b8c4d904fbdd9.

Defect found and fixed on the branch (bcf8ce0f). CI run 40435374763 at 342db516 failed make test-runtime-api with 82 undeclared public entry lines. Reproduced in a fresh clone (rc=2, the same 82 names). Cause: tools/runtime_api_check.sh split the INTERNAL line with split(line, w, /[ \t]+/) after stripping the # reason comment; the trailing blank left an empty third field, so n != 2 rejected every well-formed fn NAME # reason line, and the names it should have declared surfaced as undeclared. Fix: awk's default split, which trims leading and trailing blanks (one line).

Host gates, fresh clone at bcf8ce0f (nice -n 19 taskset -c 10-14, Spark arm64, load1 < 6):

  • make test-runtime-api: rc=0. RESULT: PASS (runtime API 0.2.0: 91 functions, 28 structs, 236 fields, 161 constants match the headers; surface 334 names, 82 INTERNAL), then 14 header controls + 4 semver controls FAILED as it must, 1 positive control PASSED as it must, RESULT: PASS (every negative control was caught).
  • make test-runtime-api-semver RUNTIME_API_BASE=origin/main: rc=0, RESULT: PASS (version 0.1.0 -> 0.2.0; the entry changes need none). The version consts are excluded from the entry compare, so "none" is expected; the MINOR bump is the documented PATCH-macro and rule change.
  • make test (src/omega_runtime_api.h changed): rc=0, CUDA++ HOST TESTS PASS (35 targets).
  • Same branch merged locally onto current main 97ca10ba (6 PRs landed since 780a0af, including a change to src/omega_cubin.h, which is not a manifest header): make test-runtime-api and the semver check both PASS.
  • CI at bcf8ce0f: runtime-api SUCCESS (run 40448002532), CodeQL c-cpp/python SUCCESS.
  • Logs: /home/drakestapleton/handoffs/Train/TrainC2/logs/trainc2-117-{run1,run2,semver,maketest,onmain}.log (Spark-local).

Negative controls for the fix (C), run by hand with copies of the manifest and of omega_runtime_api.internal, each edited one way: an extra word (fn omega_gpu_ex2_f32 extra # ...) gives rc=1 INTERNAL list line is not ...; a dropped reason gives rc=1 INTERNAL entry fn omega_gpu_ex2_f32 gives no reason; a deleted entry gives rc=1 undeclared public entry ... fn omega_gpu_ex2_f32. So the parser still rejects malformed lines; it only stopped rejecting well-formed ones.

Chip: not applicable (host-only tooling; no chip claim).

Body: the status line said IMPLEMENTED with no local run; updated to EXERCISED (host) with the failed run, the fix and these receipts. The Signed-off-by line was removed from the body (no DCO, Drake 2026-10-27).

Verdict: LAND. Coordination stays as the body says: the second PR to touch a manifest header (#113, #120/#121, #124) adds manifest or INTERNAL lines and the MINOR bump.

Code

The head commit is on main: bcf8ce0f5ab8d51f4c9d0508547b8c4d904fbdd9.

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
117
bcf8ce0f5ab8d51f4c9d0508547b8c4d904fbdd9
{"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":117,"url":"https://github.com/aien-dev/CUDApp/pull/117","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:45Z","metadata":"unavailable","state_derived":true}

Changes

There is no diff: the head commit is already on main.