#include <vector>
#if GMX_GPU_CUDA
-# include "gromacs/gpu_utils/gpueventsynchronizer.cuh"
# include "gromacs/gpu_utils/gpuregiontimer.cuh"
#elif GMX_GPU_OPENCL
-# include "gromacs/gpu_utils/gpueventsynchronizer_ocl.h"
# include "gromacs/gpu_utils/gpuregiontimer_ocl.h"
#elif GMX_GPU_SYCL
-# include "gromacs/gpu_utils/gpueventsynchronizer_sycl.h"
# include "gromacs/gpu_utils/gpuregiontimer_sycl.h"
#endif
-#include "gromacs/timing/gpu_timing.h" // for gtPME_EVENT_COUNT
+#include "gromacs/gpu_utils/gpueventsynchronizer.h"
-#include "pme_gpu_3dfft.h"
+#include "gromacs/fft/gpu_3dfft.h"
+#include "gromacs/timing/gpu_timing.h" // for gtPME_EVENT_COUNT
#ifndef NUMFEPSTATES
//! Number of FEP states.
# define NUMFEPSTATES 2
#endif
-class GpuParallel3dFft;
+namespace gmx
+{
+class Gpu3dFft;
+} // namespace gmx
/*! \internal \brief
* The main PME CUDA/OpenCL-specific host data structure, included in the PME GPU structure by the archSpecific pointer.
GpuEventSynchronizer syncSpreadGridD2H;
/* Settings which are set at the start of the run */
- /*! \brief A boolean which tells whether the complex and real grids for cu/clFFT are different or same. Currenty true. */
+ /*! \brief A boolean which tells whether the complex and real grids for cu/clFFT are different or same. Currently true. */
bool performOutOfPlaceFFT = false;
/*! \brief A boolean which tells if the GPU timing events are enabled.
* False by default, can be enabled by setting the environment variable GMX_ENABLE_GPU_TIMING.
bool useTiming = false;
//! Vector of FFT setups
- std::vector<std::unique_ptr<GpuParallel3dFft>> fftSetup;
+ std::vector<std::unique_ptr<gmx::Gpu3dFft>> fftSetup;
//! All the timers one might use
gmx::EnumerationArray<PmeStage, GpuRegionTimer> timingEvents;