Disable -ffast-math on HIP (#25495)
This commit is contained in:
@@ -154,5 +154,3 @@ if (GGML_HIP_RCCL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(ggml-hip PRIVATE ggml-base hip::host roc::rocblas roc::hipblas)
|
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>")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user