Questions tagged [cufft]

cuFFT is a FFT library for CUDA enabled GPUs. Capabilities are similar to the FFTW library.

cuFFT is a FFT library for CUDA enabled GPUs. cuFFT provides functions to do various kinds of forward and reverse Fast Fourier Transforms including multidimensional transforms and batched transforms.

146 questions
0
votes
1 answer

Not the same image after cuda FFT and iFFT

I'm trying to preform an FFT -> ramp filtering -> iFFT on a 2D image with CUDA. First, as a test I tried to do FFT and iFFt without any filters. After the FFT andthe iFFT the image seems the same, but before the operation the image pixel values were…
loz
  • 71
  • 2
  • 12
0
votes
1 answer

cuFFT buffer used

Do we have a limit for the memory used by cuFFT (particularly for 1D transform). I need to compute FFTs for a huge amount of data and I would like to use the most of my GPU capabilities. In the User Guide it is documented that In the worst case,…
0
votes
1 answer

CuFFT Double to Complex

i want to make a FFT from double to std::complex with the CuFFT Lib. My Code looks like #include #include #include #include typedef std::complex Complex; using namespace std; int main(){ …
user3214281
  • 77
  • 1
  • 11
0
votes
1 answer

CUFFT: trying to implement row by row fft of a matrix

I am trying to replicate matlab fft functionality, where it does a row by row (or column by column) fft of a matrix. Each row would be one of the batches in the cufft plan. I can get it working using cufftExecC2C (the commented out part in the code…
Gswffye
  • 180
  • 3
  • 13
0
votes
1 answer

the results of fftw and cufft are different

I am just testing fftw and cufft but the results are different(I am a beginner for this area). The matrix is 12 rows x 8 cols and each element is a 4-float vector, and the transform is real to complex. I tried to keep the settings of fftw and cufft…
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148
0
votes
1 answer

speed up 2D correlation

It looks like my application starting to be (i)FFT-bounded, it doing a lot of 2D correlations for rectangles with average sizes about 500x200 (width and height always even). Scenario is as usual - do two FFT (one per field), multiply complex fields,…
Arsen
  • 153
  • 1
  • 12
0
votes
0 answers

Why the CUFFT planning time is larger in CUDA 5.5 than in CUDA 4

As part of my research work, i need to measure the planning time of the CUFFT library in different CUDA versions (i.e. espicially in CUDA 4 and CUDA 5.5 ). Let us see one of the results of the one dimensional FFT size 4096, as shown below, CUDA 5.5…
Sreehari
  • 11
  • 2
0
votes
1 answer

Cufft error in file

I am receiving the error: Cufft error in file I am using this file in order to load the FFT and pass them to another file. //----function to check for errors------------------------------------------------- #define gpuErrchk(ans) {…
George
  • 5,808
  • 15
  • 83
  • 160
0
votes
2 answers

NaN problems with cuFFT

I'm writing a frequency filtering application for a school assignment in C++ and Cuda using cuFFT and I can't get it to work. You can find the whole Visual Studio 2010 solution here. (Needs glut.) Here is the part I think is relevant:…
KáGé
  • 823
  • 2
  • 12
  • 23
0
votes
2 answers

using FFTW compatablity mode in cuFFT

I have a full project created using FFTW. I want to transition to using cuFFT. I understand that cuFFT has a "compatibility mode". But how exactly does this work? The cuFFT manual says: After an application is working using the FFTW3 interface,…
tir38
  • 9,810
  • 10
  • 64
  • 107
0
votes
2 answers

Required buffer for cuFFT

This question is about the buffer required by cuFFT. In the User Guide it is documented that In the worst case, the CUFFT Library allocates space for 8*batch*n[0]*..*n[rank-1] cufftComplex or cufftDoubleComplex elements (where batch denotes the…
Daniel
  • 639
  • 1
  • 4
  • 17
0
votes
2 answers

cuFFT profiling issue

I am trying to get the profiling data for cuFFT library calls for example plan and exec. I am using nvprof (command line profiling tool), with option of "--print-api-trace". It prints the time for all the apis except the cuFFT apis. Is there a any…
Sagar Masuti
  • 1,271
  • 2
  • 11
  • 30
0
votes
1 answer

cufft is adding random data to results

I made a quick program to make sure I could use the cufft library correctly. When I run a batch size of "1" I get the result I expect. However, as I increase the batch size, I get what appears to be random bytes at the end of my data buffer. If the…
phasedweasel
  • 171
  • 2
  • 6
-1
votes
1 answer

Passing GpuMat directly to cufftExecC2C function for doing fast fourier transform

I am trying to optimize my code using opencv with cuda and cufft library. Everytime I have do fast fourier transform, I have to download cv::Mat from GpuMat and then do cufft. (Please see the code below) and again download the result of the fft. Is…
Dhruvin Naik
  • 89
  • 2
  • 15
-1
votes
1 answer

Double precision error of cuFFT with PlanMany in Fortran

Following the (answer of JackOLantern) I'm trying to compute a batch 1D FFTs using cufftPlanMany. The code below perform nwfs=23 times the 1D FFT forward and the 1D FFT backward of an n=256 complex array. It's to train me to handle the routine…
1 2 3
9
10