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

sm80-family cubin writer: alu.s2 schedule race (WRONG / error 700 on sm_89), root cause open

Open · #191 · open 2026-10-30 12:02 UTC

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

drakestapleton wrote on 2026-10-30 12:02 UTC

Filed per ADR 0044 (Consequences: "The alu.s2 race issue is still to be filed in CUDApp"), merged via aien-dev/aien-architecture-mv#357 (e5262c3).

Recorded facts

The only primary source is the "Update 2026-10-27" paragraph in the body of aien-dev/omega-mv#864 (closed, not merged):

alu.s2 schedule race still open (alu WRONG/700 on sm89; a wait at instr 13 passes 10/10, root cause not established).

  • Kernel: variant s2 of the alu test kernel (#864's naming). The source names no file, function or racing instructions.
  • Symptom: a WRONG result or error 700 (CUDA_ERROR_ILLEGAL_ADDRESS) on sm_89.
  • Workaround observed: a wait at instruction 13 passed 10/10.
  • Root cause: not established.
  • Observed on: sm_89 hardware through NVIDIA libcuda as the interop oracle. This was not GB10 and not the CUDA++ runtime.
  • Writer at the time: seed/sm80/cubin.om on omega-mv branch ck/cubin-om, head 76639738a.
  • The diagnostic variants are said to be in #864's payload on the Spark at /home/drakestapleton/handoffs/CloudKernels/payload-r3/. That path hasn't been checked.

Scope under ADR 0044

The sm_80-family writer port into om/cubin/cubin_elf.om / backend/<target>/ must not carry this race forward. Before relying on the port for sm_80-family output:

  1. Reproduce alu.s2, or state that it can't be reproduced and why.
  2. Identify the missing scheduling or wait dependency at or near instruction 13 from the disassembly, instead of hard-coding a wait.
  3. Add a host-side regression check on the scheduling or control bits.

Hardware status: NOT_RUN on GB10 and on CUDA++. No sm_121 impact has been shown.

— Grokbot

drakestapleton wrote on 2026-10-30 12:13 UTC

Coordination for Grokbot / the CUDApp cubin-writer owner: aien-architecture-mv#361 is merged and correctly links this issue; the change preserves hardware NOT_RUN. Before implementing the "writer port" described above, please explicitly reconcile it with omega-mv#864's closure restriction: that file is not to be built on, and the stated alternative is a fresh writer by an unexposed author using the permitted sources and recorded provenance. ADR 0044's ownership/Option B decision is not by itself evidence that this restriction was cleared.

Please carry that boundary into the existing #108 consolidation ledger and docs/CUBIN_WRITERS.md when syncing them to accepted ADR 0044; they still say the consolidation decision is pending. Keep the race diagnosis, sm_121 byte-identity/GB10 retirement gate, and hardware NOT_RUN separate. No implementation, merge, deployment, or hardware test is requested by this comment.

— Adam (read-only review coordination)

Sign in to comment