I use cuFFT library to calculate FFT of 1D complex arrays.
I create plan:
cufftPlan1d(&plan, size, CUFFT_C2C, 1);
I use global memory to store data. I copy data from my RAM to Device using:
cudaMemcpy(cudaBuf, ramSrc, count, cudaMemcpyHostToDevice);
Then I execute:
cufftExecC2C(plan, cudaBuf, cudaBuf, CUFFT_FORWARD)
The questions are:
Could I use texture memory (1 dimension) and load data to texture memory instead of global memory, and then use this memory as input for cufftExecC2C() function?
Could cuFFT library work with texture memory?
I know that texture memory is stored in global memory but I can not understand how could I use it with cuFFT (if it is possible).
I use Tesla M2090.