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

D7, chip half: same inputs, same bits, on the GPU

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

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

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

Priority and execution ownership

Qualification cross-cutting: motor priority 1, library priority 3.

L386; coordinate with the motor integration owner so golden comparisons are shared, not duplicated.

Source draft

docs/issues/D7-same-bits-chip.md at 232332422bfdc31c8918085b50f13c1e18ab702e

D7, chip half: same inputs, same bits, on the GPU

Labels: D7

The pain. "Completely reproducible results are not guaranteed across PyTorch releases, individual commits, or different platforms." (PyTorch docs). Bitwise reproducibility in cuBLAS needs CUBLAS_WORKSPACE_CONFIG and costs speed or memory. docs/PAIN_POINTS.md section 2.6.

What exists. CUDA++ reductions add in a fixed order (evidence/E1-CLOSURE/). On the simulator, two runs of hello-gpu print the same output hash.

What is left. The same check on the chip, and the same check on a library kernel with a reduction (matrix-vector).

Done when. Two runs on the GB10 of hello-gpu and of one matrix-vector job print the same output hash, with no setting turned on; receipt under evidence/.

Acceptance gate binding

Two GB10 runs each of hello-gpu and one matrix-vector reduction produce identical independently checked output hashes without a reproducibility opt-in. Record all source/pin/binary identities. Also preserve motor golden-token identity at the integrated build.

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