-
Notifications
You must be signed in to change notification settings - Fork 197
Move from fftw3 to pocketfft? #3245
Copy link
Copy link
Open
Labels
Description
Recent versions of eigen provide an interface to pocketfft (https://gitlab.mpcdf.mpg.de/mtr/pocketfft/tree/cpp), a header-only fft library that is widely adopted by scientific computing packages such as numpy, scipy and pytorch.
Switching is as easy as defining EIGEN_POCKETFFT_DEFAULT (see: https://gitlab.com/libeigen/eigen/-/blob/master/unsupported/Eigen/FFT#L31)
Since pocketfft is header-only, this means we could drop the fftw3 library dependency, and since it is much more optimized than kissfft which is bundled with eigen, we can probably do so without much downsides.
Reactions are currently unavailable