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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user