cuFINUFFT: a load-balanced GPU library for general-purpose nonuniform FFTs
Yu-hsuan ShihGWGarrett Wright
Joakim AndénJBJohannes Blaschke
Alex H. Barnett Yu-hsuan Shih
GWGarrett Wright

Joakim Andén
JBJohannes Blaschke

Alex H. Barnett
+5
cuFINUFFT is a GPU library for type 1 (nonuniform to uniform) and type 2 (uniform to nonuniform) nonuniform fast Fourier transforms in 2D and 3D, single or double precision. Its main contribution is a load-balanced design that combines cache-aware point reordering with blocked spreading in shared memory, ensuring high performance for any point distribution and user-requested accuracy. On GPU, it achieves roughly $10^9$ points/second at low accuracy and is 4-10$\times$ faster than the parallel CPU code FINUFFT (28 threads), including host-device transfers. It outperforms prior GPU codes by up to 90$\times$ at high accuracy or type 1 clustered points, and demonstrates 5-12$\times$ speedup in an X-ray diffraction 3D reconstruction task at $10^{-12}$ accuracy with good multi-GPU scaling.

arXiv ·
· February 16, 2021