|
@@ -1,15 +1,15 @@
|
|
#ifndef MANDEL_OPENCLINTERNAL_H
|
|
#ifndef MANDEL_OPENCLINTERNAL_H
|
|
#define MANDEL_OPENCLINTERNAL_H
|
|
#define MANDEL_OPENCLINTERNAL_H
|
|
|
|
|
|
-#define CL_TARGET_OPENCL_VERSION 220
|
|
|
|
-#define CL_HPP_TARGET_OPENCL_VERSION 220
|
|
|
|
|
|
+#define CL_TARGET_OPENCL_VERSION 120
|
|
|
|
+#define CL_HPP_TARGET_OPENCL_VERSION 120
|
|
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
|
|
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
|
|
|
|
|
|
#ifdef WITH_OPENCL
|
|
#ifdef WITH_OPENCL
|
|
#ifdef __APPLE__
|
|
#ifdef __APPLE__
|
|
#include <OpenCL/cl.hpp>
|
|
#include <OpenCL/cl.hpp>
|
|
#else
|
|
#else
|
|
-#include <CL/cl.hpp>
|
|
|
|
|
|
+#include <CL/cl2.hpp>
|
|
#endif
|
|
#endif
|
|
#endif
|
|
#endif
|
|
namespace mnd
|
|
namespace mnd
|