Skip to main content
SHARE
Publication

kokkos-fft: A shared-memory FFT for the Kokkos ecosystem

by Yuuichi Asahi, Thomas Padioleau, Paul Zehner, Julien Bigot, Damien T Lebrun-grandie
Publication Type
Journal
Journal Name
The Journal of Open Source Software
Publication Date
Page Number
8391
Volume
10
Issue
111

kokkos-fft provides a unified, performance-portable interface for Fast Fourier Transforms (FFTs) within the Kokkos ecosystem (C. Trott et al., 2021). It seamlessly integrates with leading local FFT libraries including FFTW, cuFFT, rocFFT, and oneMKL. Designed for simplicity and efficiency, kokkos-fft offers a user experience akin to numpy.fft for in-place and out-of-place transforms, while leveraging the raw speed of vendor-optimized libraries. A demonstration solving 2D Hasegawa-Wakatani turbulence with the Fourier spectral method illustrates how kokkos-fft can deliver significant speedups over Python-based alternatives without drastically increasing code complexity, empowering researchers to perform high-performance FFTs simply and effectively.