Commit 157257b0 authored by Alexander Alekhin's avatar Alexander Alekhin

ocl: don't use OpenCL CPU device in default setup

parent cbd0511a
...@@ -2228,7 +2228,8 @@ static cl_device_id selectOpenCLDevice() ...@@ -2228,7 +2228,8 @@ static cl_device_id selectOpenCLDevice()
if (!isID) if (!isID)
{ {
deviceTypes.push_back("GPU"); deviceTypes.push_back("GPU");
deviceTypes.push_back("CPU"); if (configuration)
deviceTypes.push_back("CPU");
} }
else else
deviceTypes.push_back("ALL"); 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