A fast Fourier transform compiler

被引:145
作者
Frigo, M [1 ]
机构
[1] MIT, Comp Sci Lab, Cambridge, MA 02139 USA
关键词
D O I
10.1145/301631.301661
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The FFTW library for computing the discrete Fourier transform (DFT) has gained a wide acceptance in both academia and industry, because it provides excellent performance on a variety of machines (even competitive with or faster than equivalent libraries supplied by vendors). In FFTW, most of the performance-critical code was generated automatically by a special-purpose compiler, called genfft, that outputs C code. Written in Objective Caml, genfft can produce DFT programs for any input length, and it can specialize the DFT program for the common case where the input data are real instead of complex. Unexpectedly, genfft "discovered" algorithms that were previously unknown, and it was able to reduce the arithmetic complexity of some other existing algorithms. This paper describes the internals of this special-purpose compiler in some detail, and it argues that a specialized compiler is a valuable tool.
引用
收藏
页码:169 / 180
页数:12
相关论文
共 32 条
[1]   THE INPUT OUTPUT COMPLEXITY OF SORTING AND RELATED PROBLEMS [J].
AGGARWAL, A ;
VITTER, JS .
COMMUNICATIONS OF THE ACM, 1988, 31 (09) :1116-1127
[2]  
Aho Alfred V., 2007, COMPILERS PRINCIPLES
[3]   FACTORIZATION METHOD FOR CRYSTALLOGRAPHIC FOURIER-TRANSFORMS [J].
AN, M ;
COOLEY, JW ;
TOLIMIERI, R .
ADVANCES IN APPLIED MATHEMATICS, 1990, 11 (03) :358-371
[4]  
[Anonymous], 1997, ALGORITHMS DISCRETE
[5]  
BLUMOFE R. D., 1996, P 8 ANN ACM S PAR AL, P297
[6]   AN ALGORITHM FOR MACHINE CALCULATION OF COMPLEX FOURIER SERIES [J].
COOLEY, JW ;
TUKEY, JW .
MATHEMATICS OF COMPUTATION, 1965, 19 (90) :297-&
[7]   ANALYSIS OF LINEAR DIGITAL NETWORKS [J].
CROCHIERE, RE ;
OPPENHEIM, AV .
PROCEEDINGS OF THE IEEE, 1975, 63 (04) :581-595
[8]   FAST FOURIER-TRANSFORMS - A TUTORIAL REVIEW AND A STATE-OF-THE-ART [J].
DUHAMEL, P ;
VETTERLI, M .
SIGNAL PROCESSING, 1990, 19 (04) :259-299
[9]  
Frigo M, 1998, INT CONF ACOUST SPEE, P1381, DOI 10.1109/ICASSP.1998.681704
[10]  
FRIGO M, FFTW WEB