mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
Add -mfma for AVX512DQ tests.
(cherry picked from commit 76bb29c0c2e0948ca02af686a2b5ba4be6afcccc)
This commit is contained in:
parent
a8eb797a43
commit
ebd5c6d44b
@ -258,7 +258,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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user