mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Merge pull request #939 from pengx17:2.4_getDevice
This commit is contained in:
commit
37953b7cf0
@ -333,6 +333,10 @@ namespace cv
|
||||
oclinfo.push_back(ocltmpinfo);
|
||||
}
|
||||
}
|
||||
if(devcienums > 0)
|
||||
{
|
||||
setDevice(oclinfo[0]);
|
||||
}
|
||||
return devcienums;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user