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-GFX942-SGEMM-20261112T220232Z / README.md

48 lines · 6129 bytes Raw Blame History Source

gfx942 SGEMM: host-exercised, not hardware-qualified

Intent: build Omega capable of serving Qwen 27B on AMD GPUs; this slice supplies a checkable row-major SGEMM code object and exact host instruction execution. It is not a serving implementation or an AMD hardware result.

Scope and evidence

base.commit records the starting revision. inputs.sha256 pins the implementation, independent assembly and test oracles. SHA256SUMS covers this receipt. host-gate.log and exec-gate.log are the final successful runs; exit-codes.txt records their exits. Compiler identity and oracle versions are in those logs. Production implementation is seeded Omega; LLVM and Python are test-only instruments.

Final commands, from this worktree, in execution order:

flock "$HOME/handoffs/hive/queen/pool-14.lock" nice -n 10 \
  env AMD_EXEC_OUT="$HOME/work/hive/amdserve/Gfx942Exec/sgemm-exec-out-8" \
  sh tests/amd-exec/run.sh "$HOME/work/hive/amdserve/AmdGfx942/pin/omc"
flock "$HOME/handoffs/hive/queen/pool-14.lock" nice -n 10 \
  env AMD_OUT="$HOME/work/hive/amdserve/Gfx942Exec/sgemm-host-out-4" \
  sh tests/amd/run.sh "$HOME/work/hive/amdserve/AmdGfx942/pin/omc"

The actual wrapper redirected each command's stdout/stderr to the corresponding external log and printed its exit after reading that log. Paths in copied logs are normalized from the local home prefix to $HOME; all other bytes are retained. Raw external logs remain alongside the private worktree.

Execution design

The host gate checks the v_fmac_f32 encoding and descriptor workgroup-Y enable against LLVM, including the actual rsrc2 bit. It also exercises both signed branch limits and rejects overflow, missing and duplicate labels. The executor gate retains all vadd/fsum16 cases, exercises finite and special-value SGEMM shapes plus a fused-sensitive case, and catches separately-rounded multiplication/addition and an illegal constant-bus operand. The final summaries derive SGEMM shape/case counts from the oracle cases rather than a separately maintained count. Both old kernel objects remain byte-identical to the earlier receipts, and both producer/executor builds are reproducible.

Failures encountered and repairs

Earlier attempt logs and every nonempty compiler diagnostic are retained under attempts/; they are not PASS evidence.

Limits and status

IMPLEMENTED and EXERCISED on the host. Hardware execution, ROCr loading, performance, MI300 NaN-payload behavior, and comparison against Spark inference are NOT_RUN here. Linked-oracle whole-object parity is NOT_RUN because this host has no ld.lld; section and descriptor parity are exercised instead. This kernel is correctness-first, not a tiled or performance-qualified implementation. No merge, publication, deployment, GPU access or service change was performed.