Commit bd27e79f authored by Jö Fahlke's avatar Jö Fahlke

[CI] Select instruction set to avoid clang problems.

Clang 3.8 does not seem to have the intrinsic `_mm512_castps128_ps512()`, used
in `vectorf128.h`:1063 for `approx_recipr()` if avx512f is available, but
neither avx512er nor avx512vl are available.  All currently existing
processors have either avx512er (phi) or avx512vl (server-skylake).  So do
specify the latter to work around this.
parent 04513df8
Pipeline #9636 failed with stage
in 6 minutes and 37 seconds
......@@ -49,7 +49,7 @@ dune_add_test(NAME vectorclasstest-avx2
dune_add_test(NAME vectorclasstest-avx512
SOURCES ${DUNE_INSTANCE_GENERATED}
COMPILE_DEFINITIONS -DMAX_VECTOR_SIZE=${MAX_VECTOR_SIZE}
COMPILE_FLAGS -mavx512f -mfma
COMPILE_FLAGS -mavx512f -mavx512cd -mavx512vl -mfma
LINK_LIBRARIES dunecommon
)
......@@ -80,7 +80,7 @@ dune_add_test(NAME multirhstest-avx2
dune_add_test(NAME multirhstest-avx512
SOURCES multirhstest.cc
COMPILE_DEFINITIONS -DMAX_VECTOR_SIZE=${MAX_VECTOR_SIZE}
COMPILE_FLAGS -mavx512f -mfma
COMPILE_FLAGS -mavx512f -mavx512cd -mavx512vl -mfma
LINK_LIBRARIES dunecommon
CMAKE_GUARD dune-istl_FOUND
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment