ggml-hip: enable -ffast-math for HIP builds (llama/23862)
This commit is contained in:
parent
ec6e0f2c29
commit
9fe449cbd0
|
|
@ -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…
Reference in New Issue