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

merged derived a70d8a51be9fb837 #118

Imported from GitHub aien-dev/CUDApp#118 (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 7101fd6ecf5692e7b82096e333e412acc0eff296 · Head 7101fd6ecf5692e7b82096e333e412acc0eff296

- reviewed (COMMENTED) on -

Train review (TrainC2, acting as Main's non-author reviewer). Head reviewed: 7101fd6ecf5692e7b82096e333e412acc0eff296 (88774bb8 + the run4 receipt commit; no code change after 88774bb8).

Host gates, fresh clone at 88774bb8 (nice -n 19 taskset -c 10-14):

  • make -j5: rc=0. make test-hello-sim: rc=0, hello --sim tests: 12 passed, 0 failed (incl. short-absent-from-default-build (exit 2), short-exit (exit 1), short-report, past-end-refused-on-gpu (exit 2)).
  • make zero-cuda-gate: rc=0, ZERO_CUDA PASS build/hello_gpu needs=[libm.so.6 libc.so.6 ld-linux-aarch64.so.1], same for gpu_matmul_api_test.
  • make test: rc=0, CUDA++ HOST TESTS PASS (35 targets).
  • Merged locally onto current main (after #117, merge 850f5860): README block intact, build rc=0, hello-sim 12/0, zero-CUDA PASS.
  • CI at 7101fd6e: hello-sim, CodeQL c-cpp/python SUCCESS.

Language rule: the new --bug=short C is behind CUDAPP_MIGRATION_PENDING_HELLO_CONTROL, default 0 (#ifndef ... #define ... 0); only build/hello_gpu_control gets -D...=1. Checked on the binaries: the string --bug=short occurs 0 times in build/hello_gpu and once in build/hello_gpu_control. The .om successor is named in the source, the Makefile and the body: CUDApp#79 (OM-GPU-RETIRE, open).

Negative controls (C) on the new test: hello_sim_test.sh build/hello_gpu_control build/hello_gpu_control (switch ON in the "default" slot) gives rc=1 FAIL short-absent-from-default-build: exit 1, want 2; hello_sim_test.sh build/hello_gpu build/hello_gpu (switch OFF in the control slot) gives rc=1 FAIL short-exit: exit 2, want 1 + FAIL short-report. The chip control itself (make hello-gpu-control) goes red on the chip, below.

Chip (D), at 88774bb8: tools/runtime/clean-user-hello.sh c2/clean-user-hello evidence/C2-CLEAN-USER/run4-branch.log under flock /tmp/aien-gb10.lock, beside the live 35B (BOARD GPU-START 04:09:44Z / GPU-END 04:10:36Z). New user c2stranger040944, README block exit 0: checked 1048576 of 1048576 elements: 0 wrong, 0 never written, PASS, machine code sha256 6248b8ed…87d1 and output sha256 72d0c1b2…b6a6 (both equal to run3 at c5466a5); control 1 wrong, 1 never written, FAIL, NEGATIVE CONTROL hello-gpu --bug=short: RED as it must; zero-CUDA self-test + PASS; TRACE PASS and TRACE RED CONTROL: caught; user removed. 18091 /health status ok before and after; compute apps after: only pid 79557. Receipts committed in 7101fd6e (run4-branch.log, .strace.gz, run4-health.txt, PROVENANCE entry). One GB10 only, so the body keeps "EXERCISED on one GB10".

(A BOARD GPU-START/END pair at 04:09:37Z was a launch typo of mine, rc=127, nothing ran; noted on BOARD.)

Body: updated for run4 (the "load below 8" gap is closed by run4, load1 5.80); Signed-off-by removed (no DCO).

Defects: none found in the code.

Verdict: LAND.

drakestapleton wrote on 2026-10-27 05:34 UTC

Follow-up repair: #130 guards clean-user cleanup so a failed account-creation attempt cannot remove an existing account. It includes mocked regressions in hello-sim CI; 23 checks pass locally, with no real account or GPU commands run. The PR is non-draft for review; ARM64 CI is pending. No merge or hardware qualification is claimed.

Code

The head commit is on main: 7101fd6ecf5692e7b82096e333e412acc0eff296.

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