Pārlūkot izejas kodu

Avoid c++ deprecating complex.h warning while compiling the cuda version

Samuel Thibault 12 gadi atpakaļ
vecāks
revīzija
55e1451a7f
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      starpufft/starpufft-double.h
  2. 1 1
      starpufft/starpufft-float.h

+ 1 - 1
starpufft/starpufft-double.h

@@ -15,10 +15,10 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-#include <complex.h>
 #include <starpu_config.h>
 
 #if defined(STARPU_HAVE_FFTW) && !defined(__CUDACC__) 
+#include <complex.h>
 #include <fftw3.h>
 #endif
 

+ 1 - 1
starpufft/starpufft-float.h

@@ -15,10 +15,10 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-#include <complex.h>
 #include <starpu_config.h>
 
 #if defined(STARPU_HAVE_FFTW) && !defined(__CUDACC__) 
+#include <complex.h>
 #include <fftw3.h>
 #endif