Gromacs
2018.8
|
#include <CL/opencl.h>
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.
Macros | |
#define | CL_USE_DEPRECATED_OPENCL_1_1_APIS |
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. | |
#define | CL_USE_DEPRECATED_OPENCL_1_2_APIS |
#define | CL_USE_DEPRECATED_OPENCL_2_0_APIS |