aboutsummaryrefslogtreecommitdiff
path: root/src/cl-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-07 18:10:56 +0200
committerThomas White <taw@physics.org>2020-08-07 18:10:56 +0200
commit93adeb93e307a53816a71ff717cafeff6a3695b8 (patch)
treef6c3318b92549dbf86b7f66e2de52b0d4c799422 /src/cl-utils.c
parentd87110b5501b53cef55b210c9e4fe8f7e5c25687 (diff)
Set CL_TARGET_OPENCL_VERSION in a couple more places
Diffstat (limited to 'src/cl-utils.c')
-rw-r--r--src/cl-utils.c1
1 files changed, 1 insertions, 0 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