Updated the AVX512 PacketMath to properly leverage the AVX512DQ instructions

This commit is contained in:
Benoit Steiner
2016-04-11 18:40:16 -07:00
parent d6e596174d
commit 8bfe739cd2
2 changed files with 9 additions and 4 deletions

View File

@@ -223,7 +223,7 @@ if(NOT MSVC)
option(EIGEN_TEST_AVX512 "Enable/Disable AVX512 in tests/examples" OFF)
if(EIGEN_TEST_AVX512)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx512f")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx512f -mavx512dq")
message(STATUS "Enabling AVX512 in tests/examples")
endif()