]> https://gitweb.dealii.org/ - dealii.git/commitdiff
enable auto-vectorization for intel 15 1136/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 14 Jul 2015 19:37:27 +0000 (15:37 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 14 Jul 2015 19:37:27 +0000 (15:37 -0400)
It turns out vectorization is working again (at least with 15.0.3), so
enable it conditionally.

cmake/checks/check_03_compiler_bugs.cmake

index c5511c2945c098409afe5db97bf6b5348fa3f4b7..e0445e70944609e94015cdb801a3640bd6c063ee 100644 (file)
@@ -349,14 +349,14 @@ ENDIF()
 
 
 #
-# in intel (at least 13.1 and 14), vectorization causes
+# In intel (at least 13.1 and 14), vectorization causes
 # wrong code. See https://code.google.com/p/dealii/issues/detail?id=156
 # or tests/hp/solution_transfer.cc
 # A work-around is to disable all vectorization.
 #
-# - Timo Heister, 2013
+# - Timo Heister, 2013, 2015
 #
-IF(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
+IF(CMAKE_CXX_COMPILER_ID MATCHES "Intel" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "15.0.3" )
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-no-vec")
 ENDIF()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.