[PR #1148] [CLOSED] tests: hip_prefill_wmma_gemm_parity skips on a card without matrix cores instead of failing #3266

Closed
opened 2026-11-07 14:40:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1148
Author: @Vop3p
Created: 10/6/2026
Status: ❌ Closed

Base: main ← Head: v140/hip-wmma-gemm-parity-skip


📝 Commits (1)

  • 6d9371e tests: hip_prefill_wmma_gemm_parity skips (exit 77) on a card without matrix cores instead of failing

📊 Changes

2 files changed (+9 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+1 -0)
📝 tests/hip/prefill_wmma_gemm_parity.cpp (+8 -0)

📄 Description

On gfx1030 (RX 6900 XT) hip_prefill_wmma_gemm_parity fails on 0.1.40.1 (82f46a8): the WMMA GEMM kernel declines every one of the 440 shapes, the suite counts zero passes and ends with "FAILED: zero test cases passed (all were declined or skipped)". The HIP ctest run therefore fails this one test on every RDNA2 card.

The test now checks the architecture first with the kernels' own gfx_arch_is_gfx11_wmma and exits 77 where there are no matrix cores; CMake marks 77 as SKIP_RETURN_CODE, as hip_prompt_attn_wmma already does. The zero-passes failure stays for cards that have WMMA.

Measured on the RX 6900 XT (gfx1030, ROCm 10.0) at 82f46a8: before, hip_prefill_wmma_gemm_parity is the one failure among the 19 HIP tests ("zero test cases passed"); after, 19 tests: 13 pass, 6 skip (this one, and the five that already skip there: hip_prefill_hcd_exact_parity, hip_prompt_attn_wmma, hip_prefill_hipblaslt_gemm, hip_prefill_fused_moe, hip_prefill_fused_iq), 0 fail.

Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1148 **Author:** [@Vop3p](https://github.com/Vop3p) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `v140/hip-wmma-gemm-parity-skip` --- ### 📝 Commits (1) - [`6d9371e`](https://github.com/Niko1221/Strata/commit/6d9371e927c1bc1e5b3b84ae5524a2994e75a607) tests: hip_prefill_wmma_gemm_parity skips (exit 77) on a card without matrix cores instead of failing ### 📊 Changes **2 files changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -0) 📝 `tests/hip/prefill_wmma_gemm_parity.cpp` (+8 -0) </details> ### 📄 Description On gfx1030 (RX 6900 XT) `hip_prefill_wmma_gemm_parity` fails on 0.1.40.1 (`82f46a8`): the WMMA GEMM kernel declines every one of the 440 shapes, the suite counts zero passes and ends with "FAILED: zero test cases passed (all were declined or skipped)". The HIP ctest run therefore fails this one test on every RDNA2 card. The test now checks the architecture first with the kernels' own `gfx_arch_is_gfx11_wmma` and exits 77 where there are no matrix cores; CMake marks 77 as `SKIP_RETURN_CODE`, as `hip_prompt_attn_wmma` already does. The zero-passes failure stays for cards that have WMMA. Measured on the RX 6900 XT (gfx1030, ROCm 10.0) at `82f46a8`: before, `hip_prefill_wmma_gemm_parity` is the one failure among the 19 HIP tests ("zero test cases passed"); after, 19 tests: 13 pass, 6 skip (this one, and the five that already skip there: `hip_prefill_hcd_exact_parity`, `hip_prompt_attn_wmma`, `hip_prefill_hipblaslt_gemm`, `hip_prefill_fused_moe`, `hip_prefill_fused_iq`), 0 fail. Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:40:14 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3266
No description provided.