diff options
-rw-r--r-- | src/cl-utils.c | 1 | ||||
-rw-r--r-- | src/cl-utils.h | 2 |
2 files changed, 2 insertions, 1 deletions
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 <stdio.h> #include <string.h> +#define CL_TARGET_OPENCL_VERSION 220 #ifdef HAVE_CL_CL_H #include <CL/cl.h> #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 <config.h> #endif - +#define CL_TARGET_OPENCL_VERSION 220 #ifdef HAVE_CL_CL_H #include <CL/cl.h> #else |