summaryrefslogtreecommitdiffstats
path: root/src/ufo-get-dup-circ-task.c
diff options
context:
space:
mode:
authorTomas Farago <sensej007@email.cz>2020-06-12 14:07:01 +0200
committerTomas Farago <sensej007@email.cz>2020-06-12 14:07:01 +0200
commit86c9551f08a28db25ff4966093114a92eb92f6bb (patch)
tree7d1560c06e42eaa54f4072168351dc186a4528cd /src/ufo-get-dup-circ-task.c
parentdb3cd886b8303a8a5aff20c76660ed49c2365f94 (diff)
downloadufo-filters-86c9551f08a28db25ff4966093114a92eb92f6bb.tar.gz
ufo-filters-86c9551f08a28db25ff4966093114a92eb92f6bb.tar.bz2
ufo-filters-86c9551f08a28db25ff4966093114a92eb92f6bb.tar.xz
ufo-filters-86c9551f08a28db25ff4966093114a92eb92f6bb.zip
Fix undefined CL_TARGET_OPENCL_VERSION warning
This is hardcoded to 120 (= OpenCL 1.2) because nvidia does not support later standards until 3.0 comes around and we do not make use of later features anyway.
Diffstat (limited to 'src/ufo-get-dup-circ-task.c')
-rw-r--r--src/ufo-get-dup-circ-task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ufo-get-dup-circ-task.c b/src/ufo-get-dup-circ-task.c
index d0cc4ee..4733916 100644
--- a/src/ufo-get-dup-circ-task.c
+++ b/src/ufo-get-dup-circ-task.c
@@ -18,6 +18,7 @@
*
* Authored by: Alexandre Lewkowicz (lewkow_a@epita.fr)
*/
+#include "config.h"
#include <math.h> /* sqrt */
#include <string.h> /* memcpy */