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#124 (code only)

merged derived 89affa790b628d7c #124

Imported from GitHub aien-dev/CUDApp#124 (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 5dda37dde3028b04efbcec030b9cf39c07c89e14 · Head 5dda37dde3028b04efbcec030b9cf39c07c89e14

- reviewed (COMMENTED) on -

Non-author review (TrainDocs, for Main) — head 5dda37dd

Reviewed 9d84673a, then merged origin/main at 850f5860 (this includes #117's semver and public-surface gate) on the branch, giving 5dda37dd. No force-push. ADR 0043 task P2.2 adds the decode-path kernel APIs to the manifest, all EXPERIMENTAL. No C or runtime behaviour change; the only header edit is the version macro.

Defects fixed on the branch (5dda37dd)

  1. Merge conflict with #117 in API.md §10. Kept the decode-path bullets. Took main's wording, "headers the manifest does not name", because the 12 decode-path headers are now named.
  2. #117's gate failed on 136 undeclared names after the merge (39 functions, 97 constants).
    • The 47 result codes (*_OK/_BAD_ARGS/_TOO_LARGE/_CODEGEN_FAIL/_CHIP_FAIL/_NAN_WEIGHT/_BAD_TRIT) went into the manifest as # EXPERIMENTAL constants. The values were checked against the header enums and by the compiled probe.
    • The other 89 names went into omega_runtime_api.internal with reasons, taking it from 82 to 171 names.
  3. Version went 0.2.0 → 0.3.0 in src/omega_runtime_api.h, the manifest and API.md §2/§9.7/§10. Adding EXPERIMENTAL entries is a MINOR change under §2, which settles the PR's open decisions 1 and 2.
  4. PR body corrected.
    • The "no GitHub workflows" statement is stale: #117 added runtime-api.yml.
    • The version and constants decisions are now recorded as resolved.
    • The sign-off line was dropped, since there is no DCO requirement.

Commands run (fresh clone /home/drakestapleton/work/Train/TrainDocs/pr124, aarch64, nice -n 19 taskset -c 10-14)

  • make test-runtime-api → rc=0. Output: RESULT: PASS (runtime API 0.3.0: 260 functions, 44 structs, 406 fields, 208 constants match the headers; surface 639 names, 171 INTERNAL), followed by RESULT: PASS (every negative control was caught). 34 lines read "FAILED as it must".
  • tools/runtime_api_semver.sh <main manifest> <head manifest> → RESULT: PASS (version 0.2.0 -> 0.3.0; the entry changes need MINOR).
  • Before the merge, at 9d84673a merged with fe1d05c3: RESULT: PASS (runtime API 0.1: 260 functions, 44 structs, 406 fields, 159 constants ...). This matches the committed evidence/RUNTIME-API-DECODE-20261027T022905Z/test-runtime-api.log. negative-controls.log holds three exit=1 cases, each with a FAIL that names it, as the body says.

Negative controls

  • With the version left at 0.2.0, the semver check gives FAIL: undeclared change: the manifest change needs at least a MINOR bump, version 0.2.0 -> 0.2.0.
  • With fn omega_gpu_pf_open_locked deleted from the INTERNAL list, the check gives FAIL: undeclared public entry ... fn omega_gpu_pf_open_locked, RESULT: FAIL. The line was then restored.

Still open (not a merge blocker)

aien-sovereign-core's manifest copy has none of these entries; the manifest section says so. Bringing that copy level is R12's job.

Chip

NOT_RUN. This is a host-only manifest change and no device was opened.

Verdict

LAND once CI is green.

Code

The head commit is on main: 5dda37dde3028b04efbcec030b9cf39c07c89e14.

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
124
5dda37dde3028b04efbcec030b9cf39c07c89e14
{"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":124,"url":"https://github.com/aien-dev/CUDApp/pull/124","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.