disabled some kernels for Android && NVidia

This commit is contained in:
Ilya Lavrenov
2015-03-04 14:45:21 +03:00
parent 4bb496409c
commit cf4c79ebdd
7 changed files with 54 additions and 5 deletions
+5
View File
@@ -2966,6 +2966,11 @@ static bool ocl_bilateralFilter_8u(InputArray _src, OutputArray _dst, int d,
double sigma_color, double sigma_space,
int borderType)
{
#ifdef ANDROID
if (ocl::Device::getDefault().isNVidia())
return false;
#endif
int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
int i, j, maxk, radius;