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,6 +2228,7 @@ static cl_device_id selectOpenCLDevice()
|
||||
if (!isID)
|
||||
{
|
||||
deviceTypes.push_back("GPU");
|
||||
if (configuration)
|
||||
deviceTypes.push_back("CPU");
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user