]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-hip : remove -funsafe-math-optimizations (llama/26696)
authorJim Wu <redacted>
Thu, 13 Aug 2026 06:38:02 +0000 (23:38 -0700)
committerGeorgi Gerganov <redacted>
Fri, 14 Aug 2026 19:16:06 +0000 (22:16 +0300)
commitc7be8b3358c9cfcc00c35e94a899decae072f9ff
tree78db605aaba7944dd11049f85dfb334c7323f60c
parent406b1168137083cb4907ce1060eb080a3409ff58
ggml-hip : remove -funsafe-math-optimizations (llama/26696)

It enables -fassociative-math, which reassociates FP reductions and can flip
greedy argmax on RDNA3.5 (e.g. MTP speculative decode diverging from the
non-speculative baseline). Drop it so HIP builds are IEEE-conformant.

Co-authored-by: Jim Wu <redacted>
ggml/src/ggml-hip/CMakeLists.txt