From: a-huk Date: Mon, 6 Jul 2026 07:02:26 +0000 (+0200) Subject: ggml-hip: enable -ffast-math for HIP builds (llama/23862) X-Git-Tag: upstream/1.9.2~80 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9fe449cbd07e64cf2ac9096e475c4cde658b5ea5;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml-hip: enable -ffast-math for HIP builds (llama/23862) --- diff --git a/ggml/src/ggml-hip/CMakeLists.txt b/ggml/src/ggml-hip/CMakeLists.txt index a7d4e0ea..72850f26 100644 --- a/ggml/src/ggml-hip/CMakeLists.txt +++ b/ggml/src/ggml-hip/CMakeLists.txt @@ -155,3 +155,5 @@ 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>")