diff --git a/OpenCL/inc_vendor.h b/OpenCL/inc_vendor.h index b1a656ce8..c2238a838 100644 --- a/OpenCL/inc_vendor.h +++ b/OpenCL/inc_vendor.h @@ -147,7 +147,12 @@ // Whitelist some OpenCL specific functions // This could create more stable kernels on systems with bad OpenCL drivers -#ifdef IS_NV +#ifdef IS_CUDA +#define USE_BITSELECT +#define USE_ROTATE +#endif + +#ifdef IS_OPENCL #define USE_BITSELECT #define USE_ROTATE #define USE_SWIZZLE