Disable -ffast-math on HIP (llama/25495)

This commit is contained in:
Beinsezii
2026-07-30 16:31:50 +03:00
committed by Georgi Gerganov
parent 7ebe1c2b8a
commit 0c1bd5dc9c
-2
View File
@@ -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 "$<$<COMPILE_LANGUAGE:HIP>:-ffast-math;-fno-finite-math-only>")