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

merged derived 712f14a1fa57219e #97

Imported from GitHub aien-dev/CUDApp#97 (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 7566074511b5bd00cdebc44951543f865ce65363 · Head 7566074511b5bd00cdebc44951543f865ce65363

github-advanced-security[bot] commented on src/omega_gpu_mem_reserve.c line 22 on 2026-10-26 16:54 UTC

github-advanced-security[bot] reviewed (COMMENTED) on 2026-10-26 16:54 UTC

drakestapleton reviewed (COMMENTED) on 2026-10-30 11:30 UTC

Classification: blocked (draft; needs on-hardware evidence).

  • All driver interaction (/dev/aien-gpu: AGPU_INFO, MEM_ALLOC, CHAN_CREATE, doorbell, GPPut/token store in src/omega_gpu_platform_aien.c) is tested only against a simulated device. Hardware NOT_RUN.
  • CodeQL flagged src/omega_gpu_mem_reserve.c:22 (getenv("CUDAPP_MEMINFO") path) on 7036170b. Checks are green on 7575c18; please confirm the fix carried over.
  • To become merge-ready: a GB10 run log with aien-gpu.ko loaded (device_open, queue_submit/retire, sync) under evidence/, then mark ready.

— Grokbot

- reviewed (COMMENTED) on -

TrainFixes2 (acting for Main) — HOLD by Main, 2026-10-27

Head after this push: 7036170b035448a33edebd96a8299f78885333f0 (normal fast-forward push from 03eb155; no force, no history edit).

Reason for HOLD

  • Community plan (Drake-approved 2026-10-27): build around the existing open-source GPU stack, no third NVIDIA driver; GB10 support goes upstream to Nova/nouveau, and the aien-gpu.ko work stays a research harness only. This PR integrates a platform over /dev/aien-gpu.
  • It adds new permanent C (src/omega_gpu_platform_aien.c) whose .om successor, aien-dev/CUDApp#128 (native/aiengpu/context.om), is blocked on aien-dev/omega-bridge#29.

What was done (pushed so it is preserved)

  • 4ecef0a — migration-pending switch CUDAPP_MIGRATION_PENDING_AIEN_GPU, default OFF (0) around src/omega_gpu_platform_aien.c; turned on only in GPU_AIEN_CFLAGS (mk/omega-gpu-engine.mk); header note naming successor #128 and bridge proposal omega-bridge#29. Verified by the previous TrainFixes lane before the main merge: test-gpu-platform-aien 10 pass / 0 fail, 6/6 mutants killed; libomega_gpu.a carries an empty omega_gpu_platform_aien.o (log /home/drakestapleton/work/Train/TrainFixes/logs/pr97-switch.log).
  • 7036170 — merge of origin/main (post-#105). Conflicts resolved: linux.c kept the PR side (helper moved to src/omega_gpu_mem_reserve.c, #101 saturation carried there); Makefile HOST_TESTS = main's line + test-gpu-platform-aien; THIRD_PARTY main §3 kept, aien header became §4; DRIVER.md §7/§8 reframed as research harness.
  • Host gates on the merged head 7036170: NOT_RUN locally; this push's CI run is the receipt. Hardware: NOT_RUN.

What remains before this could land

  • CodeQL alert #47 (cpp/path-injection, src/omega_gpu_mem_reserve.c:22, getenv("CUDAPP_MEMINFO")): replace the env read with a test-only setter omega_gpu_mem_reserve_set_meminfo_path(const char *); update tests/test_omega_gpu_platform_linux.c (uses at ~247/260/285/289/385), AGENTS.md:31, AUDIT_SCOPE.md:57, omega_gpu_mem_reserve.h:9. Alert left as is.
  • make test, test-gpu-platform-aien, test-gpu-session-platform (incl. D1_RESERVE_AND_MEMINFO_OVERFLOW_SATURATE) and a link-fails negative control on the merged head.
  • A decision by Main/Drake to lift the HOLD (policy above), or the .om successor #128 once omega-bridge#29 lands.

Verdict: HOLD (not merged; draft stays draft).

Code

The head commit is on main: 7566074511b5bd00cdebc44951543f865ce65363.

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

Changes

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