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: admit gfx1151 (Strix Halo, RDNA3.5) as an experimental target, with sudot4
Niko12216edf8bde75a8
diff --git a/cmake/hip_backend.cmake b/cmake/hip_backend.cmakeindex 255ee381f..517656067 100644--- a/cmake/hip_backend.cmake+++ b/cmake/hip_backend.cmake@@ -8,10 +8,11 @@ endif()# maintainers; gfx1101 (RX 7800 XT, #254) and gfx1200 (RX 9060 XT, #256) by their owners. gfx1102 (RX 7600) has the# same LDS limit and dot4 instruction and passed ctest (#192), but no model run has been reported yet. RDNA2 gfx1030 (RX 6800 / 6900) has the# same LDS limit and wave32 but an older dot4 instruction (v_dot4_i32_i8, hip_compat/intrinsics.hpp); a community-# report ran it (#311), the maintainers have not.+# report ran it (#311), the maintainers have not. gfx1151 (Ryzen AI Max / Strix Halo, Radeon 8060S, RDNA3.5) is the+# 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 gfx1102 gfx1030)+set(_strata_hip_unvalidated gfx1102 gfx1030 gfx1151)# 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/include/strata/hip_compat/intrinsics.hpp b/include/strata/hip_compat/intrinsics.hppindex a789e38c9..97915263c 100644--- a/include/strata/hip_compat/intrinsics.hpp+++ b/include/strata/hip_compat/intrinsics.hpp@@ -15,7 +15,8 @@ __device__ __forceinline__ int signed_byte(uint32_t word, int lane) {// CUDA's signed __dp4a: four signed byte products accumulated modulo 2^32.__device__ __forceinline__ int dp4a(int a, int b, int c) {-#if (defined(__gfx1100__) || defined(__gfx1101__) || defined(__gfx1102__) || defined(__gfx1200__) || \+#if (defined(__gfx1100__) || defined(__gfx1101__) || defined(__gfx1102__) || defined(__gfx1150__) || \+ defined(__gfx1151__) || defined(__gfx1200__) || \defined(__gfx1201__)) && __has_builtin(__builtin_amdgcn_sudot4)// RDNA3 and RDNA4 expose the signed/unsigned dot4 form (v_dot4_i32_iu8). Mark// both packed operands signed to preserve CUDA __dp4a semantics; keep the