DECLSPEC for CPU

pull/1518/head
jsteube 6 years ago
parent 3dcacb5f55
commit 786384664e

@ -81,11 +81,16 @@
* function declarations can have a large influence depending on the opencl runtime
*/
#ifdef IS_NV
#ifdef IS_CPU
#define DECLSPEC static
#elif IS_GPU
#ifdef IS_AMD
#define DECLSPEC inline
#else
#define DECLSPEC
#endif
#else
#define DECLSPEC inline
#define DECLSPEC
#endif
/**

Loading…
Cancel
Save