mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
ocl: don't use OpenCL CPU device in default setup
This commit is contained in:
parent
cbd0511a56
commit
157257b072
@ -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…
Reference in New Issue
Block a user