Dear Martin,
Now I feel kind off dumb. This is what I was doing to compile an AVX test
on the side, did not think to include it this way in the CMAKE procedure.
Thanks! Worked very well and now it detects my AVX2 instructions :).
Best
Bruno
On Thursday, May 4, 2023 at 8:57:43 a.m. UTC-4 Martin K
Dear Bruno,
You need to specify appropriate CXX flags. For example, I always use
-D CMAKE_CXX_FLAGS="-march=native"
on my local machines (that run the code I'm compiling) or
-D CMAKE_CXX_FLAGS="-march=icelake-server"
on clusters to be sure the right code gets generated. For example GCC
lists
Dear all,
Hope you are well.
I have tried a few ways to enable AVX instructions (which I think my 12th
Gen Intel(R) Core(TM) i9-12900K) should support, yet I am always unable to
do so. At the Cmake configuration step, the AVX steps all fails whereas the
SSE ones succeed.
How can I remedy this i