On 12/9/12 9:36 PM, Elliot Saba wrote:
> Hey Steve, is there a way I can double check to make sure that FFTW is
> indeed using AVX? Some symbol that's exported I can check with `nm` or
> some function I can call?
The symbol fftw_have_simd_avx (or fftwf_have_simd_avx in single
precision) is exported if FFTW is compiled with AVX enabled.
(This defines a function fftw_have_simd_avx() that checks at runtime if
AVX is supported on the current CPU and returns 1 if AVX is available.)
This is not documented, however, so I can't guarantee that it won't
change in future FFTW versions. If this is not a one-time thing and
you need some permanent functionality of this sort, could you let us
know why?
--SGJ