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++
dsv41 iq: kIq1mCodes is CUDA-only, so its use in load_tab_fast is under #if !STRATA_USE_HIP (HIP failed 'undeclared identifier kIq1mCodes': non-dependent names are looked up in the dead constexpr branch)
Niko12219c46ab821a2f
diff --git a/src/dsv41/ds4_iq.cu b/src/dsv41/ds4_iq.cuindex 062cbac9b..8f4745d67 100644--- a/src/dsv41/ds4_iq.cu+++ b/src/dsv41/ds4_iq.cu@@ -522,10 +522,12 @@ template <int T, bool F = true>__device__ __forceinline__ void load_tab_fast(uint32_t* tab) {if constexpr (!F || Fast<T>::WORDS == 0) {load_tab<T>(tab);+#if !defined(STRATA_USE_HIP) // (kIq1mCodes exists on CUDA only; a non-dependent name is looked up even in the dead branch)} else if constexpr (T == kIQ1_M) { // a copy of the generated table (ds4_iq1m_codes.inc): 2048 x 16 bytesconst uint4* src = (const uint4*) kIq1mCodes;uint4* dst = (uint4*) tab;for (int j = threadIdx.x; j < 2048; j += blockDim.x) dst[j] = src[j];+#endif}}template <int T, bool F = true>