1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

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

This commit is contained in:
Alexander Alekhin
2014-07-01 14:24:14 +04:00
parent cbd0511a56
commit 157257b072
+2 -1
View File
@@ -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");