Merge pull request #939 from pengx17:2.4_getDevice

pull/938/merge
Vadim Pisarevsky 12 years ago committed by OpenCV Buildbot
commit 37953b7cf0
  1. 4
      modules/ocl/src/initialization.cpp

@ -333,6 +333,10 @@ namespace cv
oclinfo.push_back(ocltmpinfo);
}
}
if(devcienums > 0)
{
setDevice(oclinfo[0]);
}
return devcienums;
}

Loading…
Cancel
Save