#include <rocfft/rocfft.h>
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/arrayref.h"
Declares common utilities to use with rocfft.
- Author
- Paul Bauer paul..nosp@m.baue.nosp@m.r.q@g.nosp@m.mail.nosp@m..com
|
enum | gmx::FftDirection : int { RealToComplex,
ComplexToReal,
Count
} |
| Model the kinds of 3D FFT implemented.
|
|
|
void | gmx::handleRocFftError (rocfft_status result, const std::string &msg) |
| Helper for consistent error handling.
|
|
void | gmx::handleRocFftError (rocfft_status result, const std::string &direction, const std::string &msg) |
| Helper for consistent error handling.
|
|
std::array< size_t, DIM > | gmx::makeRealStrides (ivec realGridSizePadded) |
| Compute the stride through the real 1D array.
|
|
std::array< size_t, DIM > | gmx::makeComplexStrides (ivec complexGridSizePadded) |
| Compute the stride through the complex 1D array.
|
|
size_t | gmx::computeTotalSize (ivec gridSize) |
| Compute total grid size.
|
|