Code covered by the BSD License  

Highlights from
fftGPU

2.0

2.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 4.59 KB File ID: #12391

fftGPU

by Simon Potvin

 

25 Sep 2006 (Updated 02 Oct 2006)

Execute FFT faster on a NVIDIA GPU using the library of Naga K. Govindaraju.

| Watch this File

File Information
Description

This function implements vectorized FFTs on a GPU. The answer is the same as the fft and ifft matlab functions.

You need to install the GPUFFTW2.0 library of Naga K. Govindaraju http://gamma.cs.unc.edu/GPUFFTW/ . On Naga's wed site, you can see the system requirements. It works on linux and windows.

This function support real and complex FFTs.
 
I don't recommend this program for small fft. It really worth it for fft over 2^20 points. It does the fft in SINGLE PRECISION. The fft length must be a power of two.

For obtaining reasonably high performance, Naga K. Govindaraju recommend a PC with AGP8X/PCI-Express NVIDIA GeForce 6800 GT or faster GPU. The Video RAM will determine the maximum array length of fft that can done on the GPU. For example, on a card with 256 MB VRAM, the maximum-length array is 256/32 = 8 Million real values or 4M complex values.

MATLAB release MATLAB 7.2 (R2006a)
Other requirements You need to install the GPUFFTW2.0 library of Naga K. Govindaraju http://gamma.cs.unc.edu/GPUFFTW/
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
16 Feb 2007 shanu vadivu

 Sir

    i am doing Ph.d in D.S.P ...
 i want Radix -4 Dft program in matlab . please send that one to my mail i.d shanmugavdivun@gmail.com

24 Oct 2007 Siyi Deng

tried this:
d = randn(64,3);
gpuf = fftGPU(d,1);
matf = fft(d);

figure, plot(abs(gpuf));
figure, plot(abs(matf));

seems inconsistent with matlab fft.

Please login to add a comment or rating.
Updates
27 Sep 2006

Full name

02 Oct 2006

update summary and keywords

Tag Activity for this File
Tag Applied By Date/Time
dsp Simon Potvin 22 Oct 2008 08:41:07
fft fft gpu gpu fast gpufftw Simon Potvin 22 Oct 2008 08:41:07

Contact us at files@mathworks.com