]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Disable -ffast-math on HIP (#25495)
authorBeinsezii <redacted>
Mon, 27 Jul 2026 23:13:48 +0000 (16:13 -0700)
committerGitHub <redacted>
Mon, 27 Jul 2026 23:13:48 +0000 (07:13 +0800)
ggml/src/ggml-hip/CMakeLists.txt

index 5351dcae12db8a68fb7ea055495793be951ea48b..bbc51797c1827961ac4541361f4e0fde3974ca51 100644 (file)
@@ -154,5 +154,3 @@ if (GGML_HIP_RCCL)
 endif()
 
 target_link_libraries(ggml-hip PRIVATE ggml-base hip::host roc::rocblas roc::hipblas)
-
-target_compile_options(ggml-hip PRIVATE "$<$<COMPILE_LANGUAGE:HIP>:-ffast-math;-fno-finite-math-only>")