enabling OCL LBP branch for all devices

pull/2506/head
Andrey Pavlenko 11 years ago
parent bdfd29a0b8
commit d060d30fa0
  1. 7
      modules/objdetect/src/cascadedetect.cpp

@ -765,11 +765,8 @@ bool LBPEvaluator::read( const FileNode& node, Size _origWinSize )
nchannels = 1;
localSize = lbufSize = Size(0, 0);
if (ocl::haveOpenCL())
{
const ocl::Device& device = ocl::Device::getDefault();
if (device.isAMD() && !device.hostUnifiedMemory())
localSize = Size(8, 8);
}
localSize = Size(8, 8);
return true;
}

Loading…
Cancel
Save