My compiler supports avx2, and I added -mavx2
to C++ flags, but
the __AVX2__
macro is not defined in my code.
#ifdef __AVX2__
#include <immintrin.h>
#endif
appears to be disabled in the code.
Edit:
My complier version is:
g++ (Ubuntu 8.3.0-6ubuntu1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.