HOPS
HOPS class reference
MHO_OpenCLHeaderWrapper.hh
Go to the documentation of this file.
1 #ifndef MHO_OPENCLHEADERWRAPPER_DEF
2 #define MHO_OPENCLHEADERWRAPPER_DEF
3 
4 #ifdef __clang__
5  #pragma clang system_header
6 #endif
7 #ifdef __GNUG__
8  #pragma GCC system_header
9 #endif
10 
11 #if defined __APPLE__
12  #ifdef HOPS_OPENCL_VERSION2
13  #include <OpenCL/cl2.hpp>
14  #else
15  #include <OpenCL/cl.hpp>
16  #endif
17 #else
18  #ifdef HOPS_OPENCL_VERSION2
19  #include <CL/cl2.hpp>
20  #else
21  #include <CL/cl.hpp>
22  #endif
23 #endif
24 
25 #endif