FFTW: an adaptive software architecture for the FFT
The DOI matches its Crossref record; 20 of the 20 references it cites were found in a registry or an index.
Abstract
FFT literature has been mostly concerned with minimizing the number of floating-point operations performed by an algorithm. Unfortunately, on present-day microprocessors this measure is far less important than it used to be, and interactions with the processor pipeline and the memory hierarchy have a larger impact on performance. Consequently, one must know the details of a computer architecture in order to design a fast algorithm. In this paper, we propose an adaptive FFT program that tunes the computation automatically for any particular hardware. We compared our program, called FFTW, with over 40 implementations of the FFT on 7 machines. Our tests show that FFTW's self-optimizing approach usually yields significantly better performance than all other publicly available software. FFTW also compares favorably with machine-specific, vendor-optimized libraries.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Numerical recipes in C: the art of scientific computing
(1993) · Choice Reviews Online · doi:10.5860/choice.30-5638 · Cited by 17,933
Rayward-Smith, V. J. (1991) · Journal of the Operational Research Society · doi:10.1057/jors.1991.155 · Cited by 16,821
An algorithm for the machine calculation of complex Fourier series
Cooley, J. W., & Tukey, J. W. (1965) · Mathematics of Computation · doi:10.1090/s0025-5718-1965-0178586-1 · Cited by 13,154 · cited 2×
“The executor implements the Cooley-Tukey FFT algorithm [ 3 ], which centers around factoring the size of the transform into . The algorithm recursively computes transforms of size , multiplies the results by certain constants traditionally called twiddle factors, and finally computes transforms of size . The executor…”
MethodDiscrete-Time Signal Processing
Oppenheim, A. V., & Schafer, R. W. (1989) · Cited by 12,663
Numerical recipes in Pascal: the art of scientific computing
(1990) · Choice Reviews Online · doi:10.5860/choice.27-5158 · Cited by 11,811
Numerical recipes in Fortran (The art of scientific computing)
Ames, W. F., & Brezinski, C. (1993) · Mathematics and Computers in Simulation · doi:10.1016/0378-4754(93)90043-t · Cited by 4,304
Computational Frameworks for the Fast Fourier Transform
Van Loan, C. (1992) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970999 · Cited by 1,283
Fast fourier transforms: A tutorial review and a state of the art
Duhamel, P., & Vetterli, M. (1990) · Signal Processing · doi:10.1016/0165-1684(90)90158-u · Cited by 1,143
Cilk: an efficient multithreaded runtime system
Blumofe, R. D., Joerg, C. F., Kuszmaul, B. C., Leiserson, C. E., Randall, K. H., & Zhou, Y. (1995) · Proceedings of the fifth ACM SIGPLAN symposium on Principles and practice of parallel programming · doi:10.1145/209936.209958 · Cited by 1,021
Cilk: An Efficient Multithreaded Runtime System
Blumofe, R. D., Joerg, C. F., Kuszmaul, B. C., Leiserson, C. E., Randall, K. H., & Zhou, Y. (1996) · Journal of Parallel and Distributed Computing · doi:10.1006/jpdc.1996.0107 · Cited by 784
Cited by
GROMACS: Fast, flexible, and free
Van Der Spoel, D., Lindahl, E., Hess, B., Groenhof, G., Mark, A. E., & Berendsen, H. J. C. (2005) · Journal of Computational Chemistry · doi:10.1002/jcc.20291 · Cited by 19,182
The Design and Implementation of FFTW3
Frigo, M., & Johnson, S. G. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840301 · Cited by 5,086
“Previous work on adaptive systems includes [3]–[11].”
BackgroundInfluentialSelf-citationBlock-iterative frequency-domain methods for Maxwell's equations in a planewave basis
Johnson, S., & Joannopoulos, J. (2001) · Optics Express · doi:10.1364/oe.8.000173 · Cited by 3,217
Self-citationA Survey of General‐Purpose Computation on Graphics Hardware
Owens, J. D., Luebke, D., Govindaraju, N., Harris, M., Krüger, J., Lefohn, A. E., & Purcell, T. J. (2007) · Computer Graphics Forum · doi:10.1111/j.1467-8659.2007.01012.x · Cited by 2,101
(2006) · Cited by 1,979
Automated empirical optimizations of software and the ATLAS project
Clint Whaley, R., Petitet, A., & Dongarra, J. J. (2001) · Parallel Computing · doi:10.1016/s0167-8191(00)00087-9 · Cited by 1,317
“As far as we know, the ®rst such successful project was FFTW [9±11], and the PHiPAC [3] project was the ®rst to attempt to apply them to matrix multiply.”
MethodBrook for GPUs: stream computing on graphics hardware
Buck, I., Foley, T., Horn, D., Sugerman, J., Fatahalian, K., Houston, M., & Hanrahan, P. (2004) · ACM Transactions on Graphics · doi:10.1145/1015706.1015800 · Cited by 1,155
FDA: Fourier Domain Adaptation for Semantic Segmentation
Yang, Y., & Soatto, S. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00414 · Cited by 1,119
SPIRAL: Code Generation for DSP Transforms
Puschel, M., Moura, J. M. F., Johnson, J. R., Padua, D., Veloso, M. M., Singer, B. W., Xiong, J., Franchetti, F., Gacic, A., Voronenko, Y., et al. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840306 · Cited by 826
Frigo, M., Leiserson, C. E., Prokop, H., & Ramachandran, S. (2003) · 40th Annual Symposium on Foundations of Computer Science (Cat. No.99CB37039) · doi:10.1109/sffcs.1999.814600 · Cited by 803
Self-citationDigital Nets and Sequences: Discrepancy Theory and Quasi–Monte Carlo Integration
Dick, J., & Pillichshammer, F. (2010) · Cambridge University Press eBooks · doi:10.1017/cbo9780511761188 · Cited by 681
Tagging the Neuronal Entrainment to Beat and Meter
Nozaradan, S., Peretz, I., Missal, M., & Mouraux, A. (2011) · Journal of Neuroscience · doi:10.1523/jneurosci.0411-11.2011 · Cited by 554
Maronga, B., Gryschka, M., Heinze, R., Hoffmann, F., Kanani-Sühring, F., Keck, M., Ketelsen, K., Letzel, M. O., Sühring, M., & Raasch, S. (2015) · Geoscientific Model Development · doi:10.5194/gmd-8-2515-2015 · Cited by 553
Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractions
Vasilache, N., Zinenko, O., Theodoridis, T., Goyal, P., DeVito, Z., Moses, W. S., Verdoolaege, S., Adams, A., & Cohen, A. (2018) · arXiv · doi:10.48550/arxiv.1802.04730 · Cited by 548
Managing performance vs. accuracy trade-offs with loop perforation
Sidiroglou-Douskos, S., Misailovic, S., Hoffmann, H., & Rinard, M. (2011) · Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering · doi:10.1145/2025113.2025133 · Cited by 505
OSKI: A library of automatically tuned sparse matrix kernels
Vuduc, R., Demmel, J. W., & Yelick, K. A. (2005) · Journal of Physics: Conference Series · doi:10.1088/1742-6596/16/1/071 · Cited by 490
“The user may subsequently “execute” this program on the same or similar input matrix, thereby providing a way to save and restore tuning transformations across application runs, a la FFTW’s wisdom mechanism [25].”
BackgroundQuantum optimal control theory
Werschnik, J., & Gross, E. K. U. (2007) · Journal of Physics B: Atomic, Molecular and Optical Physics · doi:10.1088/0953-4075/40/18/r01 · Cited by 471
Shaikh, T. R., Gao, H., Baxter, W. T., Asturias, F. J., Boisset, N., Leith, A., & Frank, J. (2008) · Nature Protocols · doi:10.1038/nprot.2008.156 · Cited by 454
A fast Fourier transform compiler
Frigo, M. (1999) · Proceedings of the ACM SIGPLAN 1999 conference on Programming language design and implementation · doi:10.1145/301618.301661 · Cited by 438
Self-citationPetaBricks: a language and compiler for algorithmic choice
Ansel, J., Chan, C., Wong, Y. L., Olszewski, M., Zhao, Q., Edelman, A., & Amarasinghe, S. (2009) · Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1542476.1542481 · Cited by 355
Selective Neuronal Entrainment to the Beat and Meter Embedded in a Musical Rhythm
Nozaradan, S., Peretz, I., & Mouraux, A. (2012) · The Journal of Neuroscience · doi:10.1523/jneurosci.3203-12.2012 · Cited by 334
Robust DWT-SVD domain image watermarking: embedding data in all frequencies
Ganic, E., & Eskicioglu, A. M. (2004) · Proceedings of the 2004 workshop on Multimedia and security · doi:10.1145/1022431.1022461 · Cited by 334
Jiménez-García, B., Pons, C., & Fernández-Recio, J. (2013) · Bioinformatics · doi:10.1093/bioinformatics/btt262 · Cited by 318
Wang, J., Li, Y., Gao, R. X., & Zhang, F. (2022) · Journal of Manufacturing Systems · doi:10.1016/j.jmsy.2022.04.004 · Cited by 317
(2013) · Journal of Open Research Software · doi:10.5334/jors.ag · Cited by 315
Simply denoise: Wavefield reconstruction via jittered undersampling
Hennenfent, G., & Herrmann, F. J. (2008) · Geophysics · doi:10.1190/1.2841038 · Cited by 314
Dynamic knobs for responsive power-aware computing
Hoffmann, H., Sidiroglou, S., Carbin, M., Misailovic, S., Agarwal, A., & Rinard, M. (2011) · Proceedings of the sixteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/1950365.1950390 · Cited by 304
A catalog of stream processing optimizations
Hirzel, M., Soulé, R., Schneider, S., Gedik, B., & Grimm, R. (2014) · ACM Computing Surveys · doi:10.1145/2528412 · Cited by 299
“Prominent examples include FFTW [Frigo and Johnson 1998], SPIRAL [Xiong et al.”
BackgroundMethodYurkin, M. A., Maltsev, V. P., & Hoekstra, A. G. (2007) · Journal of Quantitative Spectroscopy and Radiative Transfer · doi:10.1016/j.jqsrt.2007.01.033 · Cited by 288
Odd dynamics of living chiral crystals
Tan, T. H., Mietke, A., Li, J., Chen, Y., Higinbotham, H., Foster, P. J., Gokhale, S., Dunkel, J., & Fakhri, N. (2022) · Nature · doi:10.1038/s41586-022-04889-6 · Cited by 280
The golden age of software architecture
Shaw, M., & Clements, P. (2006) · IEEE Software · doi:10.1109/ms.2006.58 · Cited by 271
Architecture of Qbox: A scalable first-principles molecular dynamics code
Gygi, F. (2008) · IBM Journal of Research and Development · doi:10.1147/rd.521.0137 · Cited by 259
Minimizing development and maintenance costs in supporting persistently optimized BLAS
Whaley, R. C., & Petitet, A. (2005) · Software: Practice and Experience · doi:10.1002/spe.626 · Cited by 254
Milepost GCC: Machine Learning Enabled Self-tuning Compiler
Fursin, G., Kashnikov, Y., Memon, A. W., Chamski, Z., Temam, O., Namolaru, M., Yom-Tov, E., Mendelson, B., Zaks, A., Courtois, E., et al. (2011) · International Journal of Parallel Programming · doi:10.1007/s10766-010-0161-2 · Cited by 234
“Originally developed to improve performance of various small kernels using a few parametric transformations across multiple architectures, where static compilers fail to deliver best performance [84,53,63,71,81,21,85], these techniques have been extended to larger applications and richer set of optimizations [22, 52,2…”
BackgroundMethodBsoft: Image and Molecular Processing in Electron Microscopy
Heymann, J. B. (2001) · Journal of Structural Biology · doi:10.1006/jsbi.2001.4339 · Cited by 234
Rossion, B., Torfs, K., Jacques, C., & Liu-Shuang, J. (2015) · Journal of Vision · doi:10.1167/15.1.18 · Cited by 211
“Subsequently, a discrete Fourier transform (as implemented in Matlab with the algorithm of Frigo & Johnson, 1998) was applied to these averaged segments, and amplitude spectra were extracted for all channels.”
MethodSelf-Adapting Linear Algebra Algorithms and Software
Demmel, J., Dongarra, J., Eijkhout, V., Fuentes, E., Petitet, A., Vuduc, R., Whaley, R. C., & Yelick, K. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840848 · Cited by 204
“The ATLAS initiative adequately illustrates current and modern research projects on automatic generation and optimization of numerical software, and many of the general ideas are the same for similar efforts such as PHiPAC [1] and FFTW [15], [16].”
MethodGrouping dominant orientations for ill-structured road following
Rasmussen, C. (2004) · Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2004. CVPR 2004. · doi:10.1109/cvpr.2004.1315069 · Cited by 198
Programming by sketching for bit-streaming programs
Solar-Lezama, A., Rabbah, R., Bodík, R., & Ebcioğlu, K. (2005) · Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation · doi:10.1145/1065010.1065045 · Cited by 195
“For example, FFTW [10] uses a planner to try many different execution plans for an FFT at run-time and .nd the best one.”
BackgroundFDM: the filter diagonalization method for data processing in NMR experiments
Mandelshtam, V. A. (2001) · Progress in Nuclear Magnetic Resonance Spectroscopy · doi:10.1016/s0079-6565(00)00032-7 · Cited by 192
SPL: a language and compiler for DSP algorithms
Xiong, J., Johnson, J., Johnson, R., & Padua, D. (2001) · Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation · doi:10.1145/378795.378860 · Cited by 191
“Our approach is similar to that used by FFTW [5, 6 ].”
MethodSynthesis of High-Performance Parallel Programs for a Class of ab Initio Quantum Chemistry Models
Baumgartner, G., Auer, A., Bernholdt, D. E., Bibireata, A., Choppella, V., Cociorva, D., Gao, X., Harrison, R. J., Hirata, S., Krishnamoorthy, S., et al. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840311 · Cited by 190
“Other efforts in automatically generating efficient implementations of programs include FFTW [17], [18], the telescoping languages project [29], [30], ATLAS [13], [72] for deriving efficient implementation of BLAS routines, and the PHIPAC [3] project.”
MethodLattice Kinetic Schemes for Magnetohydrodynamics
Dellar, P. J. (2002) · Journal of Computational Physics · doi:10.1006/jcph.2002.7044 · Cited by 183
Spiral: A Generator for Platform-Adapted Libraries of Signal Processing Alogorithms
Püschel, M., Moura, J. M. F., Singer, B., Xiong, J., Johnson, J., Padua, D., Veloso, M., & Johnson, R. W. (2004) · The International Journal of High Performance Computing Applications · doi:10.1177/1094342004041291 · Cited by 180
“FFTW has been used by other groups to test different optimization techniques, such as loop interleaving (Gatlin and Carter, 1999), and the use of short-vector instructions (Franchetti et al., 2001); UHFFT (Mirkovic and Johnson, 2001) uses an approach similar to FFTW and includes search on the codelet level and additio…”
BackgroundMethodInfluentialLin, C.-H. (2008) · Computers & Mathematics with Applications · doi:10.1016/j.camwa.2007.04.035 · Cited by 177
“Frequency spectra are computed by the function fft(•) [15,16]”
MethodA comparison of empirical and model-driven optimization
Yotov, K., Li, X., Ren, G., Cibulskis, M., DeJong, G., Garzaran, M., Padua, D., Pingali, K., Stodghill, P., & Wu, P. (2003) · ACM SIGPLAN Notices · doi:10.1145/780822.781140 · Cited by 165
Song, P., & Wang, X.-J. (2005) · The Journal of Neuroscience · doi:10.1523/jneurosci.4172-04.2005 · Cited by 159
“We also used a fast Fourier transform program FFTW (Frigo and Johnson, 1998) for the efficient calculation of synaptic inputs.”
MethodSolar-Lezama, A., Arnold, G., Tancau, L., Bodik, R., Saraswat, V., & Seshia, S. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250754 · Cited by 149
“For example, FFTW [9] uses a planner to try many different execution plans for an FFT at run-time, and pick the best one.”
Method(2002) · doi:10.5555/762761.762822 · Cited by 115
López, J. L., Hernández, S., Urrutia, A., López-Cortés, X. A., Araya, H., & Morales-Salinas, L. (2021) · Computers & Geosciences · doi:10.1016/j.cageo.2021.104794 · Cited by 22
Metadata
- Authors
- Frigo, M., & Johnson, S. G.
- Venue
- Proceedings of the 1998 IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP '98 (Cat. No.98CH36181)
- Publisher
- IEEE
- Published
- 2002-11-27
- Volume
- 3
- Pages
- 1381-1384
- ISSN
- 1520-6149 (ISSN-L)
- OpenAlex
- W2096070062
- Cited by
- 1,801
- References
- 20
- FWCI
- 71.49
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.