I am experiencing some problems with CUDAs FFT library.
I declared the inputs as cuDoubleComplex, but the compiler returns the error that this type is incompatible with parameters of type cufftComplex. After some search through the Internet, I found the file cufft.h, in which there is the line typedef cuComplex cufftComplex;
. My problem is that in the library cuComplex.h it is clear that cuComplex has a single floating point precision (typedef cuFloatComplex cuComplex;
), but I would like a double precision.
Is this possible?
In particular, I obtain the following:
error: argument of type "cufftDoubleComplex *" is incompatible with parameter of type "cufftComplex *"
at this line:
cufftExecC2C(plan, data1, data2, CUFFT_FORWARD);