1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-08-24 06:57:09 +01:00

FFTW guarded after CUDA adn HIP

This commit is contained in:
2025-08-21 22:00:12 +01:00
parent fe0db53842
commit 583fa7bb0a

View File

@@ -36,6 +36,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <hipfft/hipfft.h>
#endif
#if !defined(GRID_CUDA) && !defined(GRID_HIP)
#ifdef HAVE_FFTW
#if defined(USE_MKL) || defined(GRID_SYCL)
#include <fftw/fftw3.h>
@@ -43,6 +44,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <fftw3.h>
#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<ComplexD> {
public:
@@ -216,6 +219,7 @@ public:
}
};
#endif
#endif
class FFT {
private: