Merge pull request #2923 from alalek:ocl_default_device_ignore_cpu

pull/2940/head
Vadim Pisarevsky 11 years ago
commit 0e534b5a25
  1. 3
      modules/core/src/ocl.cpp

@ -2228,7 +2228,8 @@ static cl_device_id selectOpenCLDevice()
if (!isID)
{
deviceTypes.push_back("GPU");
deviceTypes.push_back("CPU");
if (configuration)
deviceTypes.push_back("CPU");
}
else
deviceTypes.push_back("ALL");

Loading…
Cancel
Save