Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
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:

Description

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.

Author
Aleksei Iupinov a.yup.nosp@m.inov.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Classes

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