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

build: wmma_gemm.cu is added to strata_prefill only under STRATA_ENABLE_HIP (it includes hip_runtime.h; the CUDA build broke)

Niko1221cbe3fddc5921
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cbe1c07aa..507bd151b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -484,7 +484,11 @@ if(STRATA_ENABLE_CUDA OR STRATA_ENABLE_HIP)
# what composes them into a token. No tokenizer - the prompt arrives as ids - because Gate C1 compares logits
# against llama.cpp on the SAME ids and a tokenizer on one side of that comparison is a second variable.
# plan v0.3 P5: batched prompt processing (tensor-core GEMMs through cuBLAS).
- add_library(strata_prefill STATIC src/prefill/gemm.cu src/prefill/wmma_gemm.cu src/prefill/kernels.cu src/prefill/prefill.cpp)
+ add_library(strata_prefill STATIC src/prefill/gemm.cu src/prefill/kernels.cu src/prefill/prefill.cpp)
+ if(STRATA_ENABLE_HIP)
+ # #313: the RDNA3 WMMA GEMMs include hip_runtime.h: AMD builds only (a CUDA build never sees this file)
+ target_sources(strata_prefill PRIVATE src/prefill/wmma_gemm.cu)
+ endif()
target_include_directories(strata_prefill PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${_strata_gpu_include_directories})
target_link_libraries(strata_prefill PUBLIC strata_engine ${_strata_gpu_blas_target} ${_strata_gpu_runtime_target})
if(STRATA_ENABLE_HIP AND STRATA_HIPBLASLT_AVAILABLE)