From 53b74c7d6131d85ce2970cc65c3ed7200f1660c8 Mon Sep 17 00:00:00 2001 From: pradeep Date: Tue, 26 Jan 2021 10:27:13 +0530 Subject: [PATCH] Fix OpenCL examples warnings for newer OpenCL headers --- examples/opencl/cl_helpers.h | 1 + 1 file changed, 1 insertion(+) 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