title: CUFFT with double precision
body: <p>I am experiencing some problems with CUDAs FFT library.</p>
  
  <p>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 <code>typedef cuComplex cufftComplex;</code>. My problem is that in the library cuComplex.h it is clear that cuComplex has a single floating point precision (<code>typedef cuFloatComplex cuComplex;</code>), but I would like a double precision.</p>
  
  <p>Is this possible?</p>
  
  <p>In particular, I obtain the following:</p>
  
  <pre><code>error: argument of type "cufftDoubleComplex *" is incompatible with parameter of type "cufftComplex *"
  </code></pre>
  
  <p>at this line:</p>
  
  <pre><code>cufftExecC2C(plan, data1, data2, CUFFT_FORWARD);
  </code></pre>