<< Chapter < Page Chapter >> Page >

[link] is almost a 1:1 mapping of the system of linear equations , except that the base cases of N = 1 , 2 , 4 are handled explicitly. In [link] , the case of N = 4 is handled with two size 2 base cases, which are combined into a size 4 FFT.

Putting it all together

Speed of simple FFT implementations

The simple implementations covered in this section were benchmarked for sizes of transforms 2 2 through to 2 18 running on a Macbook Air 4,2 and the results are plotted in [link] . The speed of each transform is measured in Cooley-Tukey gigaflops (CTGs), where a higher measurement indicates afaster transform. CTGs are an inverse time measurement. See Benchmark methods for a full explanation of the benchmarking methods.

It can be seen from [link] that although the conjugate-pair and split-radix algorithms have exactly the same FLOP count, the conjugate-pair algorithm is substantially faster. The differencein speed can be attributed to the fact that the conjugate-pair algorithm requires only one twiddle factor per size 4 sub-transform, whereas the ordinary split-radix algorithm requires two.

Though the tangent FFT requires the same number of twiddle factors but uses fewer FLOPs compared to the conjugate-pair algorithm, its performance isworse than the radix-2 FFT for most sizes of transform, and this can be attributed to the cost of computing the scaling factors.

A simple analysis with a profiling tool reveals that each implementations' runtime is dominated by the time taken to compute the coefficients. Even in thecase of the conjugate-pair algorithm, over 55 % of the runtime is spent calculating the complex exponential function. Eliminating this performancebottleneck is the topic of the next section.

Precomputed coefficients

The speed of [link][link] may be dramatically improved if the coefficients are precomputed and stored in alookup table (LUT).

When computing an FFT of size N , [link] requires N / 2 different twiddle factors that correspond to N / 2 samples of a half rotation around the complex plane. Rather than storing N / 2 complex numbers, the symmetries of the sine and cosine waves that compose ω N k may be exploited to reduce the storage to N / 4 real numbers – a 75 % reduction in memory – by storing only one quadrant of a sine or cosine wave from which thereal and imaginary parts of any twiddle factor can be constructed. Such a scheme has advantages in hardware implementations where LUT memory is acostly resource  [link] , but for modern microprocessor implementations of the FFT, it is more advantageous to have a less complexindexing scheme and better memory locality, rather than a smaller LUT.

As already mentioned, each transform of size N that is computed with [link] requires N / 2 twiddle factors from ω N 0 through to ω N N / 2 , but the two sub-transforms of [link] require twiddle factors ranging from ω N / 2 0 through to ω N / 2 N / 4 . The twiddle factors of the sub-transforms can be obtained by downsampling the parent transform's twiddle factors by a factor of 2, andbecause the downsampling factors are all powers of 2, simple shift operations can be used to index any twiddle factor anywhere in the transform from oneLUT.

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Computing the fast fourier transform on simd microprocessors. OpenStax CNX. Jul 15, 2012 Download for free at http://cnx.org/content/col11438/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Computing the fast fourier transform on simd microprocessors' conversation and receive update notifications?

Ask