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++

sycl: STRATA_SYCL_JIT_STATELESS option for the JIT build's 64-bit-address flag (default ON, as in #1602)

Niko12215025d63a2218
diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt
index af7c99592..44fa4924b 100644
--- a/sycl/CMakeLists.txt
+++ b/sycl/CMakeLists.txt
@@ -57,8 +57,13 @@ if(NOT STRATA_SYCL_AOT)
# every expert in the cache's last 0.46 GiB dequantized to NaN in the prompt path, and every prompt answered "!!!!"
# (token 0). This option keeps the kernels on 64-bit (stateless) addresses; with it the same prompts are right.
# (One backend argument for both: CMake drops a repeated -Xsycl-target-backend=spir64.)
- list(APPEND _sycl_link "-Xsycl-target-backend=spir64"
- "-cl-fp32-correctly-rounded-divide-sqrt -ze-opt-greater-than-4GB-buffer-required")
+ option(STRATA_SYCL_JIT_STATELESS "JIT build: keep kernels on 64-bit addresses (-ze-opt-greater-than-4GB-buffer-required)" ON)
+ if(STRATA_SYCL_JIT_STATELESS)
+ list(APPEND _sycl_link "-Xsycl-target-backend=spir64"
+ "-cl-fp32-correctly-rounded-divide-sqrt -ze-opt-greater-than-4GB-buffer-required")
+ else()
+ list(APPEND _sycl_link "-Xsycl-target-backend=spir64" "-cl-fp32-correctly-rounded-divide-sqrt")
+ endif()
endif()
# Every translation unit gets -fsycl: the migrated host files construct queues and USM, not only the kernels.
# icpx defaults to a fast floating-point model (reciprocal approximations, reassociation); the kernels are