]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-hip : add -fno-finite-math-only alongside -ffast-math (llama/25373)
authorasf0 <redacted>
Tue, 7 Jul 2026 11:27:50 +0000 (05:27 -0600)
committerGeorgi Gerganov <redacted>
Fri, 10 Jul 2026 10:06:42 +0000 (13:06 +0300)
commit38d16b9a7e0bf7a9a8a952c70a30e487d6cab0c4
tree8b901857e917d56c24b64a41de5acf35556083e2
parent7c04837122bcfc8cec760e24ed2947305ac91c79
ggml-hip : add -fno-finite-math-only alongside -ffast-math (llama/25373)

-ffast-math implies -ffinite-math-only under ROCm/clang 22, which
disables INFINITY/NaN and triggers -Wnan-infinity-disabled (errors
under -Werror in CI). Re-enable infinity handling without dropping
the rest of fast-math.

Fixes #25361
ggml/src/ggml-hip/CMakeLists.txt