From: Timo Heister Date: Tue, 14 Jul 2015 19:37:27 +0000 (-0400) Subject: enable auto-vectorization for intel 15 X-Git-Tag: v8.3.0-rc1~9^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1136%2Fhead;p=dealii.git enable auto-vectorization for intel 15 It turns out vectorization is working again (at least with 15.0.3), so enable it conditionally. --- diff --git a/cmake/checks/check_03_compiler_bugs.cmake b/cmake/checks/check_03_compiler_bugs.cmake index c5511c2945..e0445e7094 100644 --- a/cmake/checks/check_03_compiler_bugs.cmake +++ b/cmake/checks/check_03_compiler_bugs.cmake @@ -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()