From: Daniel Arndt
+ Using CUDA in combination with architecture-specific C++ compiler flags
+ like -march=native
is known to be fragile and there might be
+ compatibility issues with other libraries, e.g. using CUDA 10.1 with
+ -DDEAL_II_WITH_THREADS=ON
and
+ -DDEAL_II_CXX_FLAGS=-march=native
results in compile time
+ errors like:
+
+ + /usr/lib/gcc/x86_64-linux-gnu/7/include/avx512fintrin.h(11265): error: identifier "__builtin_ia32_scalefsd_round" is undefined + /usr/lib/gcc/x86_64-linux-gnu/7/include/avx512fintrin.h(11274): error: identifier "__builtin_ia32_scalefss_round" is undefined ++ +