Skip to content

Move from fftw3 to pocketfft? #3245

@bjeurissen

Description

@bjeurissen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions