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

Description

Wraps the complexity of including SYCL in GROMACS.

SYCL headers use symbol DIM as a template parameter, which gets broken by macro DIM defined in gromacs/math/vectypes.h. Here, we include the SYCL header while temporary undefining this macro.