diff options
author | Tomas Farago <sensej007@email.cz> | 2020-06-12 14:07:01 +0200 |
---|---|---|
committer | Tomas Farago <sensej007@email.cz> | 2020-06-12 14:07:01 +0200 |
commit | 86c9551f08a28db25ff4966093114a92eb92f6bb (patch) | |
tree | 7d1560c06e42eaa54f4072168351dc186a4528cd /src/ufo-write-task.c | |
parent | db3cd886b8303a8a5aff20c76660ed49c2365f94 (diff) | |
download | ufo-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-write-task.c')
-rw-r--r-- | src/ufo-write-task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ufo-write-task.c b/src/ufo-write-task.c index 0f1e478..c97410d 100644 --- a/src/ufo-write-task.c +++ b/src/ufo-write-task.c @@ -17,6 +17,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" #ifdef __APPLE__ #include <OpenCL/cl.h> #else @@ -29,7 +30,6 @@ #include <errno.h> #include <math.h> -#include "config.h" #include "ufo-write-task.h" #include "writers/ufo-writer.h" #include "writers/ufo-raw-writer.h" |