Merge pull request #2923 from alalek:ocl_default_device_ignore_cpu
This commit is contained in:
commit
0e534b5a25
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user