From 8273bb83766e06c58e070dd5e6ae435d660ea8b2 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Tue, 6 Feb 2018 22:05:15 +0100 Subject: [PATCH] NV JiT doesn't like static inline keywords --- OpenCL/inc_vendor.cl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenCL/inc_vendor.cl b/OpenCL/inc_vendor.cl index 04ac1319a..9f2332e97 100644 --- a/OpenCL/inc_vendor.cl +++ b/OpenCL/inc_vendor.cl @@ -81,7 +81,12 @@ * function declarations can have a large influence depending on the opencl runtime */ + +#ifdef IS_NV +#define DECLSPEC +#else #define DECLSPEC static inline +#endif /** * AMD specific