Gromacs
2019
|
Declares ClfftInitializer class, which initializes and tears down the clFFT library resources in OpenCL builds, and does nothing in other builds, and a factory function for it.
clFFT itself is used in the OpenCL implementation of PME for 3D R2C/C2R transforms. It is know to work with NVidia OpenCL, AMD fglrx and AMDGPU-PRO drivers, and to not work with AMD Rocm dev preview as of May 2018 (#2515). TODO: find out compatibility with Intel once the rest of PME gets there (#2516), or by building clFFT own tests.
Classes | |
class | gmx::ClfftInitializer |
Handle clFFT library init and tear down in RAII style. More... | |
Functions | |
std::unique_ptr< ClfftInitializer > | gmx::initializeClfftLibrary () |
This routine should be called during setup for running an FFT task on an OpenCL device. More... | |