Using AVX with GCC: __builtin_ia32_addpd256 not declared
If I #include <immintrin.h> I get this error:
error: '__builtin_ia32_addpd256' was not declared in this scope
I have defined __AVX__ and __FMA__ macros to make AVX avilable, but
apparently this isn't enough. There is no error if I use compiler flag
-mavx instead of the macros, but that solution is not acceptable. So, what
else should I defined to use AVX?
No comments:
Post a Comment