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

CMake: the D-1 prompt-attention parity tool is CUDA-only; the HIP build with tests configures again

Niko12214dcc8f531352
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8877f667d..40561947f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -232,8 +232,8 @@ if(STRATA_ENABLE_CUDA OR STRATA_ENABLE_HIP)
src/platform/direct_file.cpp)
target_link_libraries(strata_kernels PUBLIC strata_core strata_artifact)
# perf-review D-1: the tensor-core prompt attention vs the FP32 kernel and FP64 (GPU, synthetic, no model); with
- # the tests, or alone with -DSTRATA_PARITY_PROMPT_ATTN=ON
- if(STRATA_BUILD_TESTS OR STRATA_PARITY_PROMPT_ATTN)
+ # the tests, or alone with -DSTRATA_PARITY_PROMPT_ATTN=ON. CUDA only: HIP compiles the tensor-core kernel out.
+ if((STRATA_BUILD_TESTS OR STRATA_PARITY_PROMPT_ATTN) AND STRATA_ENABLE_CUDA)
add_executable(qsa_prompt_attn_parity src/kernels/qsa_prompt_attn_parity.cpp)
target_include_directories(qsa_prompt_attn_parity PRIVATE ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
target_link_libraries(qsa_prompt_attn_parity PRIVATE strata_kernels CUDA::cudart)