mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2784] [Engine] HIP: the RX 6600 / 6650 XT (gfx1032) in setup's cards #4263
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#4263
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/2784
Author: @chenxyz129
Created: 10/16/2026
Status: 🔄 Open
Base:
main← Head:gfx1032-support📝 Commits (1)
7d46e1fHIP: the RX 6600 / 6650 XT (gfx1032) in setup's cards, docs and setup test📊 Changes
4 files changed (+12 additions, -4 deletions)
View changed files
📝
docs/AMD_HIP.md(+1 -1)📝
docs/OLDER_GPUS.md(+1 -0)📝
setup.py(+7 -3)📝
tools/test_setup_amd.py(+3 -0)📄 Description
Problem and result
Before:
setup.pydid not know gfx1032, so an RX 6600 / 6650 XT was not detected: setup did not pick thegfx103X-allROCm wheels and did not build for the card.docs/AMD_HIP.mdlisted gfx1032 as untested even thoughinclude/strata/hip_compat/intrinsics.hppalready gates__gfx1032__with__gfx1030__/__gfx1031__on the samesigned-dot4 (
dp4a) branch.After: gfx1032 is in setup's
ROCM_INDEXES(thegfx103X-allwheels),AMD_ARCHS(setup detects the card andbuilds for it),
AMD_NAMES, theAMD_CARDSsentence and the AMD header comment, plus thedocs/OLDER_GPUS.mdtablerow and a line of its own in
docs/AMD_HIP.md(like gfx1031). A gfx1032 machine now takes the same path as gfx1030 /gfx1031 instead of being unknown to setup.
Rebase note: the branch is rebased on
mainatc62d5e3a(Control 0.2.9 / engine 0.1.55).cmake/hip_backend.cmakealready lists gfx1032 in
_strata_hip_unvalidatedonmain(10552345), so that hunk of the original pull request isgone and the branch changes four files. On the current
docs/AMD_HIP.mdthe old "Windows helper expert GPU" paragraphhas been merged into the gfx1032 row of the community table, so the docs hunk now updates that row. The engine and
kernel sources, the CUDA and SYCL backends and every other card's entry are untouched.
Related discussion
Refs #1375 (the gfx1032 report), #1378 (the open RX 6600 benchmark) and #3429 (the HIP compile fix this branch's
build needs).
Approach
Only the lists that decide what setup does with a gfx1032 card change; the card is treated exactly like gfx1030 /
gfx1031, which take the same wheels and the same kernels.
tools/test_setup_amd.pyasserts that gfx1032 resolves tothe same ROCm indexes and the same build path as gfx1030 / gfx1031.
The card stays in CMake's
_strata_hip_unvalidatedlist, so a build prints the usual "not validated" warning: onemachine has run it, not a broad validation.
Validation
All runs below are on the machine with the card: Fedora, ROCm 7.1.1, AMD RX 6650 XT (gfx1032, 8 GB).
Passed:
python tools/test_setup_amd.pyon commit7d46e1fd(this branch onmainc62d5e3a) ->Ran 53 tests ... OK.python tools/test_setup_rocm_pins.pyon the same commit ->Ran 17 tests ... OK.0888bdfc:ninja -C build-hip-> all targets built,stratalinked;./build-hip/strata --version->strata 0.1.55.This branch changes no engine source, so that build is the one of #3429.
Failed:
7d46e1fd) does not compile for gfx1032 on currentmain: the build stops atsrc/kernels/cuda/iq_kernels.cu:2571and:2758witherror: 'alignas' attribute cannot be applied to types.That is an upstream expdec problem on
main, not something this change introduces or fixes; #3429 fixes it, andthe engine build above was run on top of that fix.
Not run:
setup.pydownload/build for gfx1032: the engine here was built by hand from the checkout._WIN_AMD_DID/_WIN_AMD_NAME) is untouched, sosetup --backend hipon a Windows gfx1032 card isuntested.
Limits
_strata_hip_unvalidated./usr(no/opt/rocm, libraries inlib64); a local symlink shim gives setup theROCM_PATHlayout it expects. That is this box's packaging, not part of the patch._rocm_sdk_libraries_gfx103X_allwheel'slibrocblas.so.5and its library data replace the system pairtogether. Left out of this pull request; a line in
docs/AMD_HIP.mdmay be worth adding if other users hit it.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.