mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Merge branch '2.4'
This commit is contained in:
@@ -115,10 +115,9 @@ int main(int argc, char **argv)
|
||||
std::cout << "platform invalid\n";
|
||||
return -1;
|
||||
}
|
||||
if(pid != 0 || device != 0)
|
||||
{
|
||||
setDevice(oclinfo[pid], device);
|
||||
}
|
||||
|
||||
setDevice(oclinfo[pid], device);
|
||||
|
||||
cout << "Device type:" << type << endl << "Device name:" << oclinfo[pid].DeviceName[device] << endl;
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user