Gromacs  2020.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gmxopencl.h File Reference
#include <CL/opencl.h>
+ Include dependency graph for gmxopencl.h:
+ This graph shows which files directly or indirectly include this file:


Wraps the complexity of including OpenCL in Gromacs.

Because OpenCL 2.0 is not officially supported widely, GROMACS uses earlier interfaces. Some of those have been deprecated in 2.0, and generate warnings, which we need to suppress.

Additionally, this code wraps they way that things work differently on Apple platforms.


 Declare to OpenCL SDKs that we intend to use OpenCL API features that were deprecated in 1.2 or 2.0, so that they don't warn about it.