Gromacs  2025-dev-20240614-602a366
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
clfftinitializer.h File Reference
#include <memory>
#include "gromacs/utility/classhelpers.h"
+ Include dependency graph for clfftinitializer.h:
+ This graph shows which files directly or indirectly include this file:


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 also with mutual exclusion. More...