diff --git a/Src/ScalFmmConfig.h.cmake b/Src/ScalFmmConfig.h.cmake index 7a444009deea2218a6b9ea09966156c1d64ccd19..a3f05d534cb06b0c26555c0f6500be4c6080a97e 100644 --- a/Src/ScalFmmConfig.h.cmake +++ b/Src/ScalFmmConfig.h.cmake @@ -1,5 +1,9 @@ // See LICENCE file at project root +/// +/// File generated by cmake +// Do not remove any line +/////////////////////////////////////////////////////// #ifndef SSCALFMMCONFIG_H #define SSCALFMMCONFIG_H /////////////////////////////////////////////////////// diff --git a/Src/Utils/FAvx.hpp b/Src/Utils/FAvx.hpp index b9a78d158d4197b6dd988d18974e8f2c7d857c85..717ad2f8fadca99425aa419122a21bb98ff199ac 100644 --- a/Src/Utils/FAvx.hpp +++ b/Src/Utils/FAvx.hpp @@ -5,9 +5,10 @@ #include "FGlobal.hpp" #ifndef SCALFMM_USE_AVX #error The AVX header is included while SCALFMM_USE_AVX is turned OFF -#endif +#else + -#include "immintrin.h" +#include <immintrin.h> #ifdef __AVXPE_INTEL_COMPILER @@ -80,5 +81,5 @@ inline __m256 operator/(const __m256& v1, const __m256& v2){ } #endif - +#endif #endif diff --git a/Src/Utils/FAvx2.hpp b/Src/Utils/FAvx2.hpp index 0760400d649b74262360993f8f717dc0d70d00a0..08226a205de9a9e9aae6e2c5725e7457c4aebb12 100644 --- a/Src/Utils/FAvx2.hpp +++ b/Src/Utils/FAvx2.hpp @@ -7,7 +7,7 @@ #error The AVX header is included while SCALFMM_USE_AVX is turned OFF #endif -#include "immintrin.h" +#include <immintrin.h> #ifdef __MIC__