Gromacs
2026.0-dev-20241121-c76fa1e
|
#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_2_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_2_0_APIS |