#ifndef MANDEL_OPENCLINTERNAL_H #define MANDEL_OPENCLINTERNAL_H #ifdef __APPLE__ #define CL_TARGET_OPENCL_VERSION 120 #define CL_HPP_TARGET_OPENCL_VERSION 120 #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #else #define CL_TARGET_OPENCL_VERSION 120 #define CL_HPP_TARGET_OPENCL_VERSION 120 #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #endif #ifdef WITH_OPENCL #ifdef __APPLE__ #include #else #include #endif #endif namespace mnd { struct ClDeviceWrapper { #ifdef WITH_OPENCL cl::Device device; cl::Context context; #endif }; } #endif // MANDEL_OPENCLINTERNAL_H