mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #262] [CLOSED] HIP: gfx1201 (Radeon AI PRO R9700) support, faster packed byte intrinsics, and a gfx1201 hipBLASLt table #2534
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2534
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/262
Author: @ttio2tech
Created: 9/30/2026
Status: ❌ Closed
Base:
main← Head:hip-gfx1201📝 Commits (1)
b235c16HIP: gfx1201 (Radeon AI PRO R9700) support; dp4a, __byte_perm and the packed byte ops as single instructions on HIP (Q2_0 decode 58 -> 104 tok/s on the R9700); a gfx1201 hipBLASLt table📊 Changes
6 files changed (+118 additions, -39 deletions)
View changed files
📝
cmake/hip_backend.cmake(+2 -2)📝
include/strata/hip_compat/intrinsics.hpp(+34 -32)📝
setup.py(+3 -2)📝
src/core/device.cu(+3 -2)📝
tests/hip/intrinsics.cpp(+50 -1)➕
tools/hip/gfx1201-hipblaslt-100401.txt(+26 -0)📄 Description
Adds support for gfx1201 (RDNA4, wave32) alongside gfx1100 and speeds up the HIP packed-byte paths.
__dp4ausedv_dot4only on gfx1100; gfx1201 fell back to a per-byte loop in every decode GEMV.__byte_permindexes a byte array in scratch memory; the IQ4_XS/Q2_0 table lookups now usev_perm_b32(IQ4_XS attn_qkv 229 -> 34 us, Q2_0 attn_q 95 -> 23 us on the R9700).__vsub4,__vsubss4and__vcmpne4work on all four lanes at once instead of a per-lane loop (Q3_K 14-24%).tests/hip/intrinsicschecks__byte_permand the packed byte ops on 1,024 random operands.tools/hip/gfx1201-hipblaslt-100401.txt: dense prompt GEMM solutions measured on the R9700.Q2_0 decode: 58 -> 104 tok/s on the R9700. The output of a greedy CLI run is bit-identical before and after the intrinsic changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.