]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml-hip : add -fno-finite-math-only alongside -ffast-math (#25373)
authorasf0 <redacted>
Tue, 7 Jul 2026 11:27:50 +0000 (05:27 -0600)
committerGitHub <redacted>
Tue, 7 Jul 2026 11:27:50 +0000 (13:27 +0200)
commit33ca0dcb9d78c7c3a3b543db4c5fc9182abfe519
tree7967fdce756c32c4c193df101bb6fb202b1ef5fb
parent024c46ae4e375f20cf51bd7dbaed445f1b02675e
ggml-hip : add -fno-finite-math-only alongside -ffast-math (#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