We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae28f7 commit 1158c14Copy full SHA for 1158c14
CMakeLists.txt
@@ -140,6 +140,12 @@ if(NOT CMAKE_BUILD_TYPE)
140
add_compile_options(-O3 -g)
141
endif()
142
143
+# stick to strict floating point model on Intel Compiler
144
+if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") OR
145
+ ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "IntelLLVM"))
146
+ add_compile_options(-fp-model=strict)
147
+endif()
148
+
149
# Force turn off USE_ABACUS_LIBM on Intel Compiler
150
if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") OR
151
("${CMAKE_CXX_COMPILER_ID}" STREQUAL "IntelLLVM"))
0 commit comments