Unverified Commit 2d28e9fa authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

check for FFT_FFTW_THREADS may only run when CUDA is not enabled

parent 206aa775
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -40,20 +40,16 @@
# if defined(FFT_CUFFT)
#  error "Must enable CUDA with KOKKOS to use -DFFT_CUFFT"
# endif
#endif

// if user set FFTW, it means FFTW3

# ifdef FFT_FFTW
#  define FFT_FFTW3
# endif


# ifdef FFT_FFTW_THREADS
#  if !defined(FFT_FFTW3)
#   error "Must use -DFFT_FFTW3 with -DFFT_FFTW_THREADS"
#  endif
# endif
#endif

#if defined(FFT_MKL)
  #include "mkl_dfti.h"