From 583fa7bb0ac9712df51669c5d5c06ec3e0197ac3 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 21 Aug 2025 22:00:12 +0100 Subject: [PATCH] FFTW guarded after CUDA adn HIP --- Grid/algorithms/FFT.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Grid/algorithms/FFT.h b/Grid/algorithms/FFT.h index 1c0cc058..524a22d9 100644 --- a/Grid/algorithms/FFT.h +++ b/Grid/algorithms/FFT.h @@ -36,6 +36,7 @@ Author: Peter Boyle #include #endif +#if !defined(GRID_CUDA) && !defined(GRID_HIP) #ifdef HAVE_FFTW #if defined(USE_MKL) || defined(GRID_SYCL) #include @@ -43,6 +44,7 @@ Author: Peter Boyle #include #endif #endif +#endif NAMESPACE_BEGIN(Grid); @@ -174,6 +176,7 @@ public: }; #endif +#if !defined(GRID_CUDA) && !defined(GRID_HIP) #ifdef HAVE_FFTW template<> struct FFTW { public: @@ -216,6 +219,7 @@ public: } }; #endif +#endif class FFT { private: