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

D8: measure what a CUDA++ process costs beyond its own buffers

Open · #14 · open 2026-10-22 15:05 UTC

Imported from GitHub aien-dev/CUDApp#14, by drakestapleton

drakestapleton wrote on 2026-10-22 15:05 UTC

Priority and execution ownership

Qualification measurement after motor priority 1 is proven safe.

Existing developer-bar/driver-overhead work; coordinate measurements with the shared chip-window owner.

Source draft

docs/issues/D8-process-tax.md at 232332422bfdc31c8918085b50f13c1e18ab702e

D8: measure what a CUDA++ process costs beyond its own buffers

Labels: D8

The pain. "The CUDA tax, which is 4.6 GB approximately per each model on a DGX spark." (r/LocalLLaMA). docs/PAIN_POINTS.md section 2.7.

What exists. A CUDA++ process maps no CUDA library (Omega evidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt).

What is left. Measure it: resident memory of hello_gpu before open, after open and after its buffers are allocated, and the GPU memory the driver reports for the process, so the overhead beyond the program's own buffers is a number.

Done when. hello_gpu prints its own overhead line, and a chip receipt records it.

Acceptance gate binding

Measure hello_gpu resident memory before GPU open, after open and after explicit buffers; collect per-process driver-reported GPU memory and compute overhead separately from requested buffers. Publish the raw observations and accounting, not a claim inferred from absence of CUDA libraries. No unmeasured comparison to CUDA.

The source draft may predate completed host work; inspect the existing implementation and receipts before claiming or assigning a rewrite.

Mandatory closure gate

Do not close from a branch push, a simulator-only result for a chip requirement, an agent summary, or a merged PR alone. Do not use auto-closing Fixes/Closes keywords in a PR until the full gate below is actually met.

  • Link the full tested source SHA for every affected repository and the integrated/merged SHA. If a rebase, pin change, or merge changes executable inputs, qualify the resulting exact commit again.
  • Link a committed public receipt and raw logs under evidence/: exact command and flags, compiler/tool and binary hashes, source/pin SHAs, machine/chip/driver identity, expected result and actual exit code.
  • All acceptance checks pass; relevant negative controls/mutants fail for the intended reason. No skipped/waived gate or retry-until-green.
  • Hardware rows have actual GB10 receipts in a coordinated chip window. Host/simulator tests remain separately identified and cannot satisfy those rows.
  • Required dependencies are complete, independent review is recorded, and the integration owner verifies the receipt against the final artifact before closing this issue.

Existing implemented pieces must be reused, not rewritten. A historical draft is provenance, not proof that its host work is still missing. Live execution, pinned CUDApp consumption, and the independent driver remain distinct claims.

Work graph

Priority anchor: https://github.com/aien-dev/CUDApp/issues/5

Scheduling/qualification prerequisites (reuse code already built; no extra worker):

No comments.

Sign in to comment