Is there an icc macro that can test whether the CPU support AVX-2 or not?
__AVX2__
doesnt work, btw.
Is there an icc macro that can test whether the CPU support AVX-2 or not?
__AVX2__
doesnt work, btw.
According to this thread
Generate list of preprocessor macros defined by the compiler
the same -dM works for icc.