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