mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13: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);
|
oclinfo.push_back(ocltmpinfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(devcienums > 0)
|
||||||
|
{
|
||||||
|
setDevice(oclinfo[0]);
|
||||||
|
}
|
||||||
return devcienums;
|
return devcienums;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user