mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 12:10:49 +08:00
Merge pull request #9826 from p0wdrdotcom:master
This commit is contained in:
commit
5ea8ea440b
@ -609,7 +609,7 @@ bool HaarEvaluator::read(const FileNode& node, Size _origWinSize)
|
||||
localSize = lbufSize = Size(0, 0);
|
||||
if (ocl::haveOpenCL())
|
||||
{
|
||||
if (ocl::Device::getDefault().isAMD() || ocl::Device::getDefault().isIntel())
|
||||
if (ocl::Device::getDefault().isAMD() || ocl::Device::getDefault().isIntel() || ocl::Device::getDefault().isNVidia())
|
||||
{
|
||||
localSize = Size(8, 8);
|
||||
lbufSize = Size(origWinSize.width + localSize.width,
|
||||
|
Loading…
Reference in New Issue
Block a user