From: Beinsezii Date: Mon, 27 Jul 2026 23:13:48 +0000 (-0700) Subject: Disable -ffast-math on HIP (#25495) X-Git-Tag: upstream/0.0.10438~282 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=91f8c9c5fb038c086e13e9cd823c29b33b07ba54;p=pkg%2Fggml%2Fsources%2Fllama.cpp Disable -ffast-math on HIP (#25495) --- diff --git a/ggml/src/ggml-hip/CMakeLists.txt b/ggml/src/ggml-hip/CMakeLists.txt index 5351dcae1..bbc51797c 100644 --- a/ggml/src/ggml-hip/CMakeLists.txt +++ b/ggml/src/ggml-hip/CMakeLists.txt @@ -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 "$<$:-ffast-math;-fno-finite-math-only>")