Gromacs  2019-beta1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
clfftinitializer.h File Reference
#include <memory>
#include "gromacs/utility/classhelpers.h"
+ Include dependency graph for clfftinitializer.h:


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.

Aleksei Iupinov


class  gmx::ClfftInitializer
 Handle clFFT library init and tear down in RAII style. More...


std::unique_ptr< ClfftInitializer > gmx::initializeClfftLibrary ()
 This routine should be called during setup for running an FFT task on an OpenCL device. More...