Commit 5ea8ea44 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9826 from p0wdrdotcom:master

parents af8ed9d0 b2d8e8c5
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment