1
0
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:
Vadim Pisarevsky
2013-06-04 13:33:21 +04:00
committed by OpenCV Buildbot
+4
View File
@@ -333,6 +333,10 @@ namespace cv
oclinfo.push_back(ocltmpinfo);
}
}
if(devcienums > 0)
{
setDevice(oclinfo[0]);
}
return devcienums;
}