Nicolas Winkler 5 роки тому
батько
коміт
037b44e8a5

+ 3 - 3
libmandel/include/ClGenerators.h

@@ -6,14 +6,14 @@
 #include "Generators.h"
 #include "OpenClCode.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
 
 #ifdef __APPLE__
 #include <OpenCL/cl.hpp>
 #else
-#include <CL/cl.hpp>
+#include <CL/cl2.hpp>
 #endif
 
 namespace mnd

+ 3 - 3
libmandel/include/OpenClInternal.h

@@ -1,15 +1,15 @@
 #ifndef 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
 
 #ifdef WITH_OPENCL
 #ifdef __APPLE__
 #include <OpenCL/cl.hpp>
 #else
-#include <CL/cl.hpp>
+#include <CL/cl2.hpp>
 #endif
 #endif
 namespace mnd