Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

hip: gfx1152 (Radeon 860M / 840M) in the unvalidated architecture list, like gfx1150 (#1625)

Niko1221438019e36a80
diff --git a/cmake/hip_backend.cmake b/cmake/hip_backend.cmake
index ddd677741..34a3b9b61 100644
--- a/cmake/hip_backend.cmake
+++ b/cmake/hip_backend.cmake
@@ -12,7 +12,7 @@ endif()
# same wave32 / 64 KiB LDS / sudot4 family as gfx1100, on a unified-memory APU; experimental.
set(_strata_hip_validated gfx1100 gfx1201)
set(_strata_hip_community gfx1101 gfx1200)
-set(_strata_hip_unvalidated gfx1010 gfx1011 gfx1012 gfx1102 gfx1103 gfx1030 gfx1031 gfx1034 gfx1150 gfx1151) # gfx1103: Radeon 780M iGPU, opt-in, portable kernels (no WMMA)
+set(_strata_hip_unvalidated gfx1010 gfx1011 gfx1012 gfx1102 gfx1103 gfx1030 gfx1031 gfx1034 gfx1150 gfx1151 gfx1152) # gfx1103: Radeon 780M iGPU, opt-in, portable kernels (no WMMA); gfx1152: Krackan, Radeon 860M / 840M (#1625), builds with the portable kernels, no card report yet
# CMake hands HIP a ';' list, but a -DCMAKE_HIP_ARCHITECTURES typed by hand (or ROCm's own Windows tooling) may use
# spaces, which foreach(IN LISTS) would otherwise treat as one element.
string(REPLACE " " ";" _strata_hip_norm "${CMAKE_HIP_ARCHITECTURES}")
diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.md
index 8aea5ed36..692b667c6 100644
--- a/docs/AMD_HIP.md
+++ b/docs/AMD_HIP.md
@@ -441,6 +441,10 @@ run it; the report below is from a community machine: an RX 6900 XT 16 GB (gfx10
[bench/results/2026-10-07-community-gfx1150](../bench/results/2026-10-07-community-gfx1150/README.md).
Setup does not install for it yet (an integrated Radeon other than Strix Halo is named and not supported): build by hand with `-DCMAKE_HIP_ARCHITECTURES=gfx1150`
and point `STRATA_HIPBLASLT_TUNING` at the table yourself.
+- **gfx1152** (Radeon 860M / 840M, Ryzen AI 300 "Krackan", #1625): in CMake's unvalidated list like gfx1150, so
+ `-DCMAKE_HIP_ARCHITECTURES=gfx1152` builds with a warning. It runs the portable kernels (the matrix-core guards name
+ gfx1150 and gfx1151 only), no card has reported on it, and setup does not install for it (an integrated Radeon other
+ than Strix Halo is named and not supported). A report from a real 860M is welcome.
- **Not validated:** gfx1032 (the same `dp4a` path, no hardware report), setup's own build path and the
`gfx103X-all` wheels on gfx1030, images, answer-quality benchmarks. RDNA1 (gfx1012, RX 5500 XT) builds by hand:
[OLDER_GPUS.md](OLDER_GPUS.md#amd-building-gfx906-and-gfx1012).
diff --git a/src/core/arch_defaults_test.cpp b/src/core/arch_defaults_test.cpp
index f4ce0098b..2fb6d0e3f 100644
--- a/src/core/arch_defaults_test.cpp
+++ b/src/core/arch_defaults_test.cpp
@@ -30,6 +30,7 @@ int main() {
CHECK(arch_default_env("gfx1100").empty());
CHECK(arch_default_env("gfx1201:sramecc-:xnack-").empty());
CHECK(arch_default_env("gfx1150").empty());
+ CHECK(arch_default_env("gfx1152").empty());
CHECK(arch_default_env("gfx11510").empty()); // not a prefix match
CHECK(arch_default_env("").empty());
CHECK(arch_default_env(nullptr).empty());