From: Joachim Wesner <joachim.wesner@frankfurt.netsurf.de>
Subject: Re: Using DEC compilers on a Linux Alpha cluster
Date: 1998/07/29 [thread overview]
Message-ID: <35BF636D.447ACC9F@frankfurt.netsurf.de> (raw)
In-Reply-To: 35BECDE5.559DE104@mema.ucl.ac.be
Xavier Gallez wrote:
>
> Greg Lindahl wrote:
> > In your single-node benchmarks, I assume that your FFTW code does a
> > lot of math library calls, so much of gcc's performance problem at
> > small problem sizes is due to the math library. At large problem si
> Concerning the
> type of arithmetic operations, FFTW uses intensively tabulated values in
> order to limit math library calls. As I understand it, there are only a
> few calls to sin and cos at each iteration, many less than explicit
> additions and multiplications. It would be a good idea to check the FFTW
> homepage for further information (http://theory.lcs.mit.edu/~fftw).
Not quite, to my knowledge. Any modern, non brain dead fp FFT
implementation does the heavy calculation of sin and cos values by
a recurrence relation, instead of using function routines. This is the
idea of treating cos and sin as the components of a vector and to
caclculate the "next" cos/sin value by applying a rotation matrix, i.e.
only few adds and mults. You need the function routines, however, in the
OUTER loops to calculate the coefficients of the rot matrix.
YES, FFTW uses tables to store the optimum decomposition of the
recursive FFT problem on the machine in question, that's what they call
"adaptive" and that's what you generate with FFTW_MEASURE and what's
stored as "wisdom".
Joachim
next prev parent reply other threads:[~1998-07-29 4:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-28 4:00 Using DEC compilers on a Linux Alpha cluster Xavier Gallez
1998-07-28 4:00 ` Greg Lindahl
1998-07-29 4:00 ` Xavier Gallez
1998-07-29 4:00 ` Joachim Wesner [this message]
1998-07-29 4:00 ` Greg Lindahl
1998-08-03 4:00 ` Steve Peltz
1998-07-30 4:00 ` Steven G. Johnson
1998-07-30 4:00 ` Greg Lindahl
1998-07-29 4:00 ` Lev Gelb
1998-07-29 4:00 ` Xavier Gallez
1998-07-29 4:00 ` Lev Gelb
1998-07-29 4:00 ` Joachim Wesner
1998-07-30 4:00 ` Robert Harley
1998-07-30 4:00 ` Joachim Wesner
1998-07-31 4:00 ` Xiaoguang Zhang
1998-07-31 4:00 ` Joachim Wesner
1998-08-05 4:00 ` David Cherkus
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox