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

branch main Branches Tags History

CUDApp / docs / issues / D7-same-bits-chip.md

33 lines · 2896 bytes Raw Blame History Source

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.

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/.

Status: DONE on the GB10 (2026-10-27). Receipt: evidence/d7-same-bits-chip/2026-10-27/SUMMARY.md.

The check went beyond the bar: 10 runs per job instead of two, each a separate process, with no determinism or CUDA variable in the environment. The runner refuses to start if any is set. Setup: driver 580.173.02, code at 0490d98, and the resident 35B serving beside the runs. Command: flock -w 900 /tmp/aien-gb10.lock tools/run_d7_same_bits_chip.sh JOB 10 OUTDIR. The comparison is tools/d7_same_bits_check.sh.

JobReductionLabelsResult
hello (build/hello_gpu)none (vector add)output72d0c1b2…b6a6 in 10 of 10. This is the same hash as the simulator.
gemv (build/gpu_bf16_gemv_test)bf16 151936 x 2048: FFMA chain, then a SHFL.DOWN treegemv_f32_151936x2048ed380597…9e4b in 10 of 10
rmsnorm (build/gpu_elementwise_test)sum of squares across the CTA4x2048, 1x256, 2x8192each label identical in 10 of 10
dattn (build/gpu_decode_attn_test)softmax max and sum; the combine across 1 to 128 KV splitscontexts 1, 7, 256, 301, 1024, 4096, 8192, 32768each label identical in 10 of 10

Negative control. The checker printed MISMATCH (exit 1) in three cases (negative-control/checker-controls.txt):

On the unmodified runs it printed PASS.

What is left (not claimed).