I am trying to convert a code that uses the fftw libraries into a code that uses the CUDA fftw libraries. The first step in this conversion is to change the inclusion of the header fftw3.h to cufftw.h
However, it seems as though the definition of complex data types in these two headers is different. The cufftw.h header does not seem to use the standard C99 complex types if the complex.h header has been included.
Have others encountered this problem? Is there a work around? Or should I be changing all of my complex definitions to be double arrays?