diff --git a/examples/opencl/cl_helpers.h b/examples/opencl/cl_helpers.h index b78e43e7..9ae3b478 100644 --- a/examples/opencl/cl_helpers.h +++ b/examples/opencl/cl_helpers.h @@ -11,6 +11,7 @@ #define CL_HPP_ENABLE_EXCEPTIONS #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #define CL_HPP_TARGET_OPENCL_VERSION 120 +#define CL_TARGET_OPENCL_VERSION 120 #if defined(__GNUC__) #pragma GCC diagnostic push