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-GEMV2 / README.md

45 lines · 4938 bytes Raw Blame History Source

Wave-parallel gfx942 FP8/BF16 GEMV receipt

Intent: remove the observed serial-load dependency and insufficient wave count in the first GEMV kernels, preserving an explicitly defined, independently checked floating-point order.

Implementation and instruction/manual citations: PROVENANCE section15. This is a host receipt, not a GPU timing or bandwidth claim. The parent's MI300X run owns hardware qualification. No AMD GPU, live service or port18091 was touched; no push, merge or deployment was performed.

Reproduce

Run in this repository on Linux AArch64, with the pinned compiler:

flock /home/drakestapleton/handoffs/hive/queen/pool-14.lock nice -n 10 \
  env AMD_OUT=/absolute/fresh/host sh tests/amd/run.sh \
  /home/drakestapleton/work/hive/amdserve/AmdGfx942/pin/omc
flock /home/drakestapleton/handoffs/hive/queen/pool-14.lock nice -n 10 \
  env AMD_EXEC_OUT=/absolute/fresh/exec sh tests/amd-exec/run.sh \
  /home/drakestapleton/work/hive/amdserve/AmdGfx942/pin/omc

The exact exercised paths are in commands.txt; exits, gate logs and their checksums are recorded beside this file. SHA256SUMS is generated from the receipt's files, not hand-maintained. Full temporary artifacts are retained at /home/drakestapleton/handoffs/hive/amdserve/evidence/GFX942-GEMV2-WORK/.

The new host tests check the union of the old GEMV shape tables and chunk/tail boundaries, both finite and special inputs, actual full-M/K sampled notebook rows, every output bit and all other memory bytes. Neither old object nor old gate coverage is replaced. New instruction cases come from the CDNA3 manual, not the executor; deliberate incorrect semantics must be caught. Whole .text, note and descriptor-resource bytes are checked against LLVM18.1.3. Two compiler builds and two code-object builds are byte-identical when the gates pass. Final PASS counts are generated from the case tables.

Hardware bundle contract

Diagnostics encountered and repairs

  1. Pinned omc error12 at concatenated executor line977 (if or lt get st 3 mul n 4 gt p sub get st 3 mul n 4). The new wide-load bounds logic exceeded the compiler's temporary-register pool inside globalop. Extracted wide(p,lane) and split the lower/upper checks. No semantics or bounds were removed.
  2. Pinned omc error7 at concatenated row-probe line1152 (for i ulong sub argcnt 3). argcnt is an int, while the loop count is ulong. Added the explicit ulong argcnt conversion after the positive argument-count check.
  3. Initial host descriptor comparison failed: the table used four-register VGPR resource granularity while gfx942 LLVM emitted eight-register granularity. The instruction streams and metadata already matched. Corrected only the two new kernels' COMPUTE_PGM_RSRC1 low field to the observed LLVM value; kept the independent descriptor comparison intact.

The initial failed gate and compiler diagnostic logs are preserved, rather than replacing them with a later PASS. The targeted manual suite and tuned-kernel suite were exercised after their specific repairs. Final full gates are separate logs.

Parked work

Attention was parked before implementation, as requested, on amdserve/gfx942-attn at local WIP commit 98d54221; its stop note is evidence/AMD-GFX942-ATTN-WIP/README.md. No attention kernel or attention object was produced. The tuned GEMV branch does not include that WIP note.