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 条
[11]  
FRIGO M, 1998, PLDI 98, P212, DOI DOI 10.1145/277652.277725
[12]  
Frigo Matteo, 1997, Technical Report
[13]   A framework for generating distributed-memory parallel programs for block recursive algorithms [J].
Gupta, SKS ;
Huang, CH ;
Sadayappan, P ;
Johnson, RW .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1996, 34 (02) :137-153
[14]  
Hartel P. H., 1992, ATABLE-92. Second International Workshop on Array Structures, P52
[15]  
Hong J. W., 1981, SER STOC 81, P326, DOI DOI 10.1145/800076.802486
[16]   THE DESIGN OF OPTIMAL DFT ALGORITHMS USING DYNAMIC-PROGRAMMING [J].
JOHNSON, HW ;
BURRUS, CS .
IEEE TRANSACTIONS ON ACOUSTICS SPEECH AND SIGNAL PROCESSING, 1983, 31 (02) :378-387
[17]  
Knuth D. E., 2014, Seminumerical algorithms, V2
[18]  
KULIK JL, 1995, THESIS MIT
[19]  
LEROY X, 1998, OBJECTIVE CAML SYSTE
[20]   FOURGEN - FAST FOURIER-TRANSFORM PROGRAM GENERATOR [J].
MARUHN, JA .
COMPUTER PHYSICS COMMUNICATIONS, 1976, 12 (02) :147-162