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 / evidence / amd-speed-20261114 / raw / amd-launch-gap / HANG-20261114.md

40 lines · 4160 bytes Raw Blame History Source

FourBit's launcher hangs (card run 2026-11-14 01:46–01:59Z, launch-x86 08a50491, run mode)

What the logs show

Evidence: four-bit/evidence/card-20261114/ (hang-2.txt, q4card.tar.gz → out/out_proj-layers-0.q4.r1.0.stdout).

Cause: not established from these logs (said plainly)

The launcher's wait is while signal != 0: deadline(); cpurelax (dispatch.om dispatch). With no caller deadline (wait_timeout_ns 0) it spins forever, by contract: a positive deadline exits 75 and prints diagnostics. That accounts for the 100 % CPU and the hang. It does not account for why the completion never arrived. The logs cannot separate two cases:

The diagnostics that would separate them are printed only at a caller deadline, and FourBit passed none.

Fix (branch amd-launch-gap d957526e, Spark gate 308 PASS, launch-x86 a6aee5ef)

Effect on timed runs

CORRECTION (2026-11-14, after AmdReport checked the raw logs; the text above is kept as first written)

Three statements above are wrong:

  1. Hang 2 was not repeat 1. It was the third launch at 50 repeats (out/gate_proj-layers-0.f8.r50.2.stdout). Its stdout ends with OMEGA step dispatch ok … phase=before detail=50, OMEGA diag wait_timeout_ns 0 and the alarm. There is no dispatch … phase=after, unlike hang 1.
  2. "Passed on three later attempts" is wrong. Five launches of that kernel and shape completed before the hang, and none ran after it.
  3. Plan processes: 35, not 47 (20 in run 1, 15 in run 2).

Where hang 2 was stuck. Hang 2 never left the dispatch loop (dispatch.om, fn dispatch): for i < repeats: while i - read_dispatch_id >= 16: deadline; cpurelax; packet i. The generic ring has 16 slots and 50 packets need wrap-around. So it was in the ring-space wait: the packet processor's read dispatch id (queue byte 128) stopped advancing, and with no caller deadline that wait spins forever.

Hang 1 (repeat 1) was in the completion wait. Both hangs therefore show one symptom from two waits: the packet processor stopped consuming or completing packets on that queue. In hang 2 it had consumed at most i−16 packets. Whether it stopped part-way or never started is not recorded in the logs.

The new alarm rows (alarm_read_pointer, alarm_write_pointer, alarm_signal_value) fire in this ring-space wait as well, because the loop calls deadline → slowdiag. The next occurrence will record exactly how far the packet processor got.