Files
Strata/engine/cmake
Niko1221 48897a2509 Fix (after the freeze): STRATA_Q4_OPT is defined only when the build has CUDA (the Metal q4_lite build failed to link)
The final pass found that the Metal q4_lite build of the freeze hash fails to link: `Undefined symbols: strata::kernels::native_router_topk_logits(...) referenced from strata::core::moe_route`. Q4-OPT's
fused router kernel exists in kernels/cuda/native_router.cu only, is called from the shared core/layer.cpp (+ mtp.cpp, verify.cpp) behind STRATA_Q4_OPT, and engine/cmake/strata_geometry.cmake defined
STRATA_Q4_OPT for every q4_lite geometry that was not HIP, Metal and SYCL included. The define now needs `STRATA_ENABLE_CUDA` (and still not HIP): a CUDA q4_lite build is unchanged (the -D cache variable is
visible where the file is included, at CMakeLists.txt line 14), every other q4_lite build (Metal, SYCL, CPU-only, HIP) compiles the text it had before the port. One line of cmake and its comment.
2026-12-04 11:59:29 +01:00
..