i’m using an header file for the cuda functions, but the declarations of the functions have cufftComplex entries.
if i put #include <cufft.h> in that header file it says it doesn’t find it, catastrophic error, so i put typedef float cufftComplex; and it works.
but then the .cu file, which has #include <cufft.h> for other operations says that cufftComplex is defined twice and can’t run.
how can i fix this? is it possible to include cufft.h in a C++ file?