How to setup FFTW with threads and different precisions?
问题 I need to use FFTW with different arithmetic precisions and multithreaded plans. I need to setup multithreading for all precisions? Like this: fftwf_init_threads(); fftwf_plan_with_nthreads(nthreads); fftw_init_threads(); fftw_plan_with_nthreads(nthreads); fftwl_init_threads(); fftwl_plan_with_nthreads(nthreads); Or writing this in my start routine fftw_init_threads(); fftw_plan_with_nthreads(nthreads); will be enough? 回答1: The fftw libraries for different precisions are completely