[Help Wanted] Expand real-GPU hardware verification of RDNA2/GFX10.3 opcodes (37/779 -> 250+/779) and external dxc/spirv-val corpus depth #20

Closed
opened 2026-11-26 19:10:55 +00:00 by github-bot · 0 comments
Owner

@⁠californiaAlmonds on GitHub · 2026-11-22 08:35 UTC · original

Summary

Sprint 8 brought our RDNA2/GFX10.3 shader pipeline to 774/779 opcodes decoded, lifted (SPIR-V + DXIL), and CPU-ref implemented (docs/rdna2_coverage.json), with 3,120/3,120 corpus shaders passing our internal pipeline.

However, looking honestly at docs/rdna2_coverage.json, hardware and external-validator depth still has huge room to grow:

  • gpu_verified on real GPU hardware: currently 37 / 779 (4.7%)
  • External spirv-val validation: currently 58 / 3,120 corpus shaders
  • Real dxc DXIL compile/validation: currently 60 / 3,120 corpus shaders

Goals

  1. Expand value-level GPU verification tests (executing lifted compute/graphics shaders on real host D3D12 + Vulkan GPUs and comparing buffer/image readback against CPU-ref bit-for-bit or within ULP tolerance) from 37/779 to 250+/779 across:
    • Scalar ALU (SOP1, SOP2, SOPC, SOPK, SOPP)
    • Vector ALU (VOP1, VOP2, VOP3A, VOP3B, VOP3P, VOPC)
    • Memory & Export (SMEM, MUBUF, MTBUF, MIMG, DS, FLAT, EXP)
  2. Expand external spirv-val validation (58 -> 500+) and dxc DXIL validation (60 -> 500+) inside the corpus benchmark (rdna2-bench / test_rdna2_corpus_bench).
  3. Regenerate docs/rdna2_coverage.json, docs/status.svg, docs/matrix.svg, and docs/index.html via python tools/generate_status.py.

Acceptance Criteria

  • Every newly marked gpu_verified opcode is genuinely executed on GPU (or WARP in CI) with non-trivial test inputs and verified against CPU-ref output (no vacuous/placeholder checks).
  • Full ctest --output-on-failure passes with 0 regressions.

Even partial PRs targeting a single opcode family (e.g. VOP3P packed fp16/i16 or DS LDS ops) are very welcome! Comment below or join Discord: https://discord.gg/sShMY2fjR

**@⁠californiaAlmonds** on GitHub · 2026-11-22 08:35 UTC · [original](https://github.com/californiaAlmonds/OpenScarlett/issues/20) ## Summary Sprint 8 brought our RDNA2/GFX10.3 shader pipeline to **774/779 opcodes** decoded, lifted (SPIR-V + DXIL), and CPU-ref implemented (`docs/rdna2_coverage.json`), with `3,120/3,120` corpus shaders passing our internal pipeline. However, looking honestly at `docs/rdna2_coverage.json`, hardware and external-validator depth still has huge room to grow: - **`gpu_verified` on real GPU hardware:** currently **`37 / 779` (`4.7%`)** - **External `spirv-val` validation:** currently **`58 / 3,120`** corpus shaders - **Real `dxc` DXIL compile/validation:** currently **`60 / 3,120`** corpus shaders ## Goals 1. Expand value-level GPU verification tests (executing lifted compute/graphics shaders on real host D3D12 + Vulkan GPUs and comparing buffer/image readback against CPU-ref bit-for-bit or within ULP tolerance) from **`37/779` to `250+/779`** across: - Scalar ALU (`SOP1`, `SOP2`, `SOPC`, `SOPK`, `SOPP`) - Vector ALU (`VOP1`, `VOP2`, `VOP3A`, `VOP3B`, `VOP3P`, `VOPC`) - Memory & Export (`SMEM`, `MUBUF`, `MTBUF`, `MIMG`, `DS`, `FLAT`, `EXP`) 2. Expand external `spirv-val` validation (`58 -> 500+`) and `dxc` DXIL validation (`60 -> 500+`) inside the corpus benchmark (`rdna2-bench` / `test_rdna2_corpus_bench`). 3. Regenerate `docs/rdna2_coverage.json`, `docs/status.svg`, `docs/matrix.svg`, and `docs/index.html` via `python tools/generate_status.py`. ## Acceptance Criteria - Every newly marked `gpu_verified` opcode is genuinely executed on GPU (or WARP in CI) with non-trivial test inputs and verified against CPU-ref output (no vacuous/placeholder checks). - Full `ctest --output-on-failure` passes with 0 regressions. --- Even partial PRs targeting a single opcode family (e.g. `VOP3P` packed fp16/i16 or `DS` LDS ops) are very welcome! Comment below or join Discord: https://discord.gg/sShMY2fjR
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:10:55 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.