Memory Locality Exploitation Strategies for FFT on the CUDA Architecture

  • Eladio Gutierrez
  • Sergio Romero
  • Maria A. Trenas
  • Emilio L. Zapata
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5336)


Modern graphics processing units (GPU) are becoming more and more suitable for general purpose computing due to its growing computational power. These commodity processors follow, in general, a parallel SIMD execution model whose efficiency is subject to a right exploitation of the explicit memory hierarchy, among other factors. In this paper we analyze the implementation of the Fast Fourier Transform using the programming model of the Compute Unified Device Architecture (CUDA) recently released by NVIDIA for its new graphics platforms. Within this model we propose an FFT implementation that takes into account memory reference locality issues that are crucial in order to achieve a high execution performance. This proposal has been experimentally tested and compared with other well known approaches such as the manufacturer’s FFT library.


Graphics Processing Unit (GPU) Compute Unified Device Architecture (CUDA) Fast Fourier Transform memory reference locality 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Fialka, O., Cadik, M.: FFT and Convolution Performance in Image Filtering on GPU. Information Visualization (2006)Google Scholar
  2. 2.
    Fastest Fourier Transform in the West (FFTW),
  3. 3.
    Frigo, M., Johnson, S.G.: The Design and Implementation of FFTW3. Proceedings of the IEEE 93, 216–231 (2005)CrossRefGoogle Scholar
  4. 4.
    Govindaraju, N.K., Larsen, S., Gray, J., Manocha, D.: A Memory Model for Scientific Algorithms on Graphics Processors. In: Conference on Supercomputing (2006)Google Scholar
  5. 5.
    Jansen, T., von Rymon-Lipinski, B., Hanssen, N., Keeve, E.: Fourier volume rendering on the GPU using a split-stream FFT. In: Vision, Modeling, and Visualization Workshop (2004)Google Scholar
  6. 6.
    Moler, C.: HPC Benchmark. In: Conference on Supercomputing (2006),
  7. 7.
    Moreland, K., Angel, E.: The FFT on a GPU. In: ACM Conference on Graphics Hardware (2003)Google Scholar
  8. 8.
  9. 9.
    Spitzer, J.: Implementing a GPU-Efficient FFT. SIGGRAPH GPGPU Course (2003)Google Scholar
  10. 10.
    Sumanaweera, T., Liu, D.: Medical Image Reconstruction with the FFT. GPU Gems 2, 765–784 (2005)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Eladio Gutierrez
    • 1
  • Sergio Romero
    • 1
  • Maria A. Trenas
    • 1
  • Emilio L. Zapata
    • 1
  1. 1.Department of Computer ArchitectureUniversity of MalagaMalagaSpain

Personalised recommendations