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