mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #939 from pengx17:2.4_getDevice
This commit is contained in:
@@ -333,6 +333,10 @@ namespace cv
|
||||
oclinfo.push_back(ocltmpinfo);
|
||||
}
|
||||
}
|
||||
if(devcienums > 0)
|
||||
{
|
||||
setDevice(oclinfo[0]);
|
||||
}
|
||||
return devcienums;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user