mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-07-09 17:08:33 +00:00
ggml-hip: enable -ffast-math for HIP builds (#23862)
This commit is contained in:
parent
898b08854d
commit
d06ddd3589
1 changed files with 2 additions and 0 deletions
|
|
@ -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 "$<$<COMPILE_LANGUAGE:HIP>:-ffast-math>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue