From 93adeb93e307a53816a71ff717cafeff6a3695b8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 7 Aug 2020 18:10:56 +0200 Subject: Set CL_TARGET_OPENCL_VERSION in a couple more places --- src/cl-utils.c | 1 + src/cl-utils.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cl-utils.c b/src/cl-utils.c index 6aab85b2..c3686f48 100644 --- a/src/cl-utils.c +++ b/src/cl-utils.c @@ -34,6 +34,7 @@ #include #include +#define CL_TARGET_OPENCL_VERSION 220 #ifdef HAVE_CL_CL_H #include #else diff --git a/src/cl-utils.h b/src/cl-utils.h index b0027d6d..ec5ac797 100644 --- a/src/cl-utils.h +++ b/src/cl-utils.h @@ -33,7 +33,7 @@ #include #endif - +#define CL_TARGET_OPENCL_VERSION 220 #ifdef HAVE_CL_CL_H #include #else -- cgit v1.2.3