Gromacs
2021
|
#include <gromacs/ewald/pme_gpu_3dfft.h>
A 3D FFT class for performing R2C/C2R transforms.
Public Member Functions | |
GpuParallel3dFft (const PmeGpu *pmeGpu, int gridIndex) | |
Constructs CUDA/OpenCL FFT plans for performing 3D FFT on a PME grid. More... | |
~GpuParallel3dFft () | |
Destroys the FFT plans. | |
void | perform3dFft (gmx_fft_direction dir, CommandEvent *timingEvent) |
Performs the FFT transform in given direction. More... | |
GpuParallel3dFft::GpuParallel3dFft | ( | const PmeGpu * | pmeGpu, |
int | gridIndex | ||
) |
Constructs CUDA/OpenCL FFT plans for performing 3D FFT on a PME grid.
[in] | pmeGpu | The PME GPU structure. |
[in] | gridIndex | The index of the grid on which to perform the calculations. |
void GpuParallel3dFft::perform3dFft | ( | gmx_fft_direction | dir, |
CommandEvent * | timingEvent | ||
) |
Performs the FFT transform in given direction.
[in] | dir | FFT transform direction specifier |
[out] | timingEvent | pointer to the timing event where timing data is recorded |