Skip to content

Releases

wavewait v1.0.1

Choose a tag to compare

@amarbarosys amarbarosys released this 16 Nov 05:31

wavewait-public v1.0.1

Released: 2026-11-16 · Commit: tag v1.0.1 · Previous: v1.0.0

What it does

Cycle-level stall profile of any gfx1100 kernel (hipcc, Mojo, hand asm) from a real SQTT thread trace
on the 7900 XTX, through a KFD-direct runtime. Shows, per instruction, how many cycles each wave
waited before it issued.

                    run_hsaco.py                       wavewait (Mojo)
k.hsaco ──► KFD-direct launcher   ──► sqtt-capture ──► profile.pkl ──► per-pc table
           (ELF swapped in, hidden     (SQTT,                       (llvm-objdump pc map,
            kernargs filled)            WGP 3 pinned)                  waves walked by packet)

Highlights

  • Own app icon and launcher entry for wavewait.

Changes

Added

  • assets/icon/ (SVG, PNG 16-512, wavewait.desktop) and scripts/install-desktop.sh.

Verified

Check Result
icon renders at 16, 32 and 256 px (contact sheet, reviewed by the owner) OK

Known limits

  • No code change; profiling behaviour is identical to v1.0.0.

Upgrade / run

scripts/install-desktop.sh        # optional: icon + launcher in ~/.local/share

Commits

  • 3a82a6a feat(icon): own app icon and launcher entry
  • 26e7131 docs: device-function calls, cycles by function, att-trim, rules.md
  • ac687d4 fix(check): the receipt names the binary that passed
  • 38649a8 fix(app): walk a kernel that calls a non-inlined device function
  • 7e446ff feat(exposed): --watts/--mhs energy line, board power share spent with no issue
  • 123be3e torch_stages: step-phase markers for rank --stages in PyTorch jobs

wavewait v1.0.0

Choose a tag to compare

@amarbarosys amarbarosys released this 07 Nov 22:50

wavewait v1.0.0

Released: 2026-11-07 · Commit: tag v1.0.0 · Previous: first release (history up to v0.1.4 squashed)

What it does

Cycle-level stall profile of any gfx1100 kernel (hipcc, Mojo, hand asm) from a real SQTT thread trace
on the 7900 XTX, through a KFD-direct runtime. Shows, per instruction, how many cycles each wave
waited before it issued.

                    run_hsaco.py                       wavewait (Mojo)
k.hsaco ──► KFD-direct launcher   ──► sqtt-capture ──► profile.pkl ──► per-pc table
           (ELF swapped in, hidden     (SQTT,                       (llvm-objdump pc map,
            kernargs filled)            WGP 3 pinned)                  waves walked by packet)

Highlights

  • New home: github.com/amarbarosys/wavewait. Old amarbaro/wavewait URLs redirect.
  • No third-party ML framework needed: own HIP launcher, assembly probes, frozen decode tables.

Changes

Added

  • tools/run_hsaco: HIP kernel launcher in Mojo (dlopen libamdhip64), checks every input before HIP.
  • probes/*.s: 14 RDNA3 probes as gfx1100 assembly, one probe.inc, build.sh, verify.sh against golden bytes.
  • tools/pcmap.awk: pc map from llvm-objdump, POSIX awk.

Changed

  • License: Apache-2.0 (was PolyForm Noncommercial 1.0.0). Commercial use is now free; NOTICE names the holder.
  • src/sqtt_table.mojo is the frozen source of truth for the SQTT layout 3 tables.
  • Capture is rocprofv3 ATT only (tools/from-att.sh, tools/att-capture.sh).
  • History squashed to one commit; old tags and releases removed.

Removed

  • Pickled-profile input (.pkl), tools/export.py, tools/gen_table.py, tools/oracle_counts.py, tools/run_hsaco.py, tools/sqtt-capture, wgp-probe.patch, Python probe builders.

Verified

Check Result
pixi run check (CPU) rc=0, all golden diffs pass
probes/verify.sh 14/14 probes equal golden code bytes, disassembly and descriptor
git grep -i -a for the removed framework name 0 hits

Known limits

  • UNVERIFIED: run_hsaco has not launched a kernel on the GPU yet (card busy at release); only its input checks ran.
  • Links to old release notes or commit SHAs no longer resolve.

Upgrade / run

Re-clone: history was rewritten. Old .pkl inputs: no longer read; capture again with tools/att-capture.sh.

Commits

  • feat: wavewait v1.0.0 (one squashed commit)