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

CUFFT_INVALID_DEVICE when creating cufft plan on HPC

I am testing the following code on my own local machines (both on Archlinux and on Ubuntu 16.04 using nvidia driver 390 and cuda 9.1) and on our local HPC clusters: #include #include int main(){ // Initializing variables …
Leios
  • 1
  • 2
0
votes
2 answers

parameters for use_device() openACC

Is it allowed to pass objects instead of a pointer to the following directive pragma acc host_data use_device(myobject) here is the code , Pn is the object and Pn.P is the pointer to the array where data is stored #pragma acc data pcopyin( rank,N…
JimBamFeng
  • 709
  • 1
  • 4
  • 20
0
votes
1 answer

Getting different results everytime in pycuda FFT

I am writing code which can compare between numpy.fft.fft2 and pycuda but the results are not matching. Additionally pycuda results are ambiguous every time. data file : https://nofile.io/f/bjGRQGRVSCG/gauss.npy from pyfft.cuda import Plan import…
0
votes
1 answer

How to perform cufft fwd and inv transform for a specific region of interest(ROI) in a bigger array?

Consider a image of size 1920x1080. How to do cufft R2C and C2R for 720x960 ROI?
0
votes
1 answer

how do i execute both cufftXt and CUDA kernels on multiple GPUs?

I would like to use two GPUs to execute a kernel then execute a single FFT using cufftXt. The data could be several GBs in size. My understanding of allocating memory for kernels on 2 GPUs is that you should split the host array in half and send the…
kyle moats
  • 21
  • 4
0
votes
1 answer

cufft store callback called more than once

I am using a cufft store callback in a complex-to-complex, out-of-place, 1D, batch FFT (i.e. I am doing many 1D FFTs of the same size). From Section 2.9.4 of the documentation, I expect this callback to be called exactly once for each output. See…
Ryan
  • 25
  • 6
0
votes
1 answer

cuFFT in Alea GPU

I am using Alea GPU to program on GPU using C# language. I installed Alea 3.0.4 on Visual Studio 2017 project, but I can't find some cuFFT library. On NVidia's website stands cuFFT is part of CUDA Toolkit, so I don't need to download additional CUDA…
user8011403
0
votes
1 answer

Anaconda package for cufft keeping arrays in gpu memory between fft / ifft calls

I am using the anaconda suite with ipython 3.6.1 and their accelerate package. There is a cufft sub-package in this two functions fft and ifft. These, as far as I understand, takes in a numpy array and outputs to a numpy array, both in system ram,…
Erik Thysell
  • 1,160
  • 1
  • 14
  • 31
0
votes
1 answer

How to do inverse fft symmetric with CUFFT

I need to convert this line (MATLAB) to CUDA: picTimeFiltered = ifft((picFFT_filt), size(I,3), 3 ,'symmetric'); My current implementation is for this line (without 'symmetric' flag): picTimeFiltered = ifft((picFFT_filt), size(I,3), 3); This is my…
Matan Marciano
  • 333
  • 4
  • 13
0
votes
1 answer

About cufft R2C and C2R

I have used the cufft to do my research, but there some problem about to use it. The steps of mine is under below: do forward FFT on the image by using R2C multiply the kernel coefficients with the complex results do the inverse FFT on the…
KwuJohn
  • 1
  • 1
0
votes
0 answers

FFT 1d transform

I want to use cufft to perform a FFT , I create an array[1,2,3,4,5,6,7,8], and I use cufftPlan1d(&plan 8, CUFFT_C2C,1) to create a plan and then I use cufftExecC2C(plan, (cufftComplex *)d_signal, (cufftComplex *)d_signal,…
0
votes
1 answer

Why am I getting "undefined reference to `__cudaRegisterLinkedBinary_60_....`" errors in this libcufft_static example?

I'm on Ubuntu 16.04 using the CUDA 7.5 SDK, installed via the nvidia-cuda-toolkit package. I'm trying to compile a simple test program using cuFFT's callback feature; the source code to the example is available at GitHub. Following the instructions…
Jason R
  • 11,159
  • 6
  • 50
  • 81
0
votes
2 answers

Memory requirements for cufft

I have four cufftHandles, and I use cufftPlanMany to initialize each of them (together). I'm using cufftGetSizeMany() to estimate the memory required for each one of them. Lets say that s0 is the size of the first one, s1 is the size of the second…
Sullivan Risk
  • 319
  • 1
  • 4
  • 21
0
votes
1 answer

cufft image processing

I inherited an image processing application. Trying to figure things out here. I have three questions. 1) Do I have the sequence correct F2C, C2C, C2F? 2) Should I run C2C in one direction once? 3) Which direction should I use (forward or…
JackT
  • 57
  • 7
0
votes
2 answers

Cufft set frequency?

I am using CUDA's Cufft to process data i receive from a hydrophone(500,000 integers a second at 250hertz, high and low channels). Now as a basic example of how Cufft works is here... void runTest(int argc, char** argv) { printf("[1DCUFFT] is…
tim
  • 33
  • 3