From 76bb29c0c2e0948ca02af686a2b5ba4be6afcccc Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Wed, 22 Sep 2021 14:06:06 -0700 Subject: [PATCH] Add -mfma for AVX512DQ tests. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dfea223f..23ea1ecd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,7 +248,7 @@ if(NOT MSVC) option(EIGEN_TEST_AVX512DQ "Enable/Disable AVX512DQ in tests/examples" OFF) if(EIGEN_TEST_AVX512DQ) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx512dq") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx512dq -mfma") message(STATUS "Enabling AVX512DQ in tests/examples") endif()