Commit 0e534b5a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #2923 from alalek:ocl_default_device_ignore_cpu

parents d6233b13 157257b0
......@@ -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");
......
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