[PR #778] [CLOSED] iq_kernels: portable aligned shared-memory declaration for gfx1030 #2820

Closed
opened 2026-11-04 02:03:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/778
Author: @jollyroger1480
Created: 10/4/2026
Status: ❌ Closed

Base: main ← Head: fix/gfx1030-alignas


📝 Commits (2)

  • 3ffdfbd rapier: split-shard arch guard + gfx1034
  • 9891f20 iq_kernels: portable aligned shared-memory declaration for gfx1030

📊 Changes

3 files changed (+5 additions, -4 deletions)

View changed files

📝 cmake/hip_backend.cmake (+1 -1)
📝 src/core/native_dense.cpp (+2 -1)
📝 src/kernels/cuda/iq_kernels.cu (+2 -2)

📄 Description

HIP clang for gfx1030 (ROCm 7.1) rejects the alignas(16) placement in the two shared grid buffers (iq_kernels.cu:1039/1107): 'alignas attribute cannot be applied to types'. Main no longer compiles for gfx1030 (RX 6800/6900/6950 XT) with CMAKE_HIP_ARCHITECTURES=gfx1030. Moves alignment to a declarator attribute (same layout, compiles everywhere). With this + the split-shard arch-guard (#648), latest main runs the UD-Q4_K_XL abliterated re-split end to end on an RX 6950 XT — and 3/3 clean verify-window runs (the #649-class stall did not reproduce on this build).


🔄 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/778 **Author:** [@jollyroger1480](https://github.com/jollyroger1480) **Created:** 10/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/gfx1030-alignas` --- ### 📝 Commits (2) - [`3ffdfbd`](https://github.com/Niko1221/Strata/commit/3ffdfbd242c37a8509376036b5ba62caae4dbbfc) rapier: split-shard arch guard + gfx1034 - [`9891f20`](https://github.com/Niko1221/Strata/commit/9891f20be2efc03ccae735d4133152cd436f4fb1) iq_kernels: portable aligned shared-memory declaration for gfx1030 ### 📊 Changes **3 files changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmake/hip_backend.cmake` (+1 -1) 📝 `src/core/native_dense.cpp` (+2 -1) 📝 `src/kernels/cuda/iq_kernels.cu` (+2 -2) </details> ### 📄 Description HIP clang for gfx1030 (ROCm 7.1) rejects the alignas(16) placement in the two shared grid buffers (iq_kernels.cu:1039/1107): 'alignas attribute cannot be applied to types'. Main no longer compiles for gfx1030 (RX 6800/6900/6950 XT) with CMAKE_HIP_ARCHITECTURES=gfx1030. Moves alignment to a declarator attribute (same layout, compiles everywhere). With this + the split-shard arch-guard (#648), latest main runs the UD-Q4_K_XL abliterated re-split end to end on an RX 6950 XT — and 3/3 clean verify-window runs (the #649-class stall did not reproduce on this build). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:03:21 +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#2820
No description provided.