mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 12:52:33 -05:00
added gpu::printCudaDeviceInfo to all samples
This commit is contained in:
@@ -46,6 +46,8 @@ int main()
|
||||
}
|
||||
for (int i = 0; i < num_devices; ++i)
|
||||
{
|
||||
cv::gpu::printShortCudaDeviceInfo(i);
|
||||
|
||||
DeviceInfo dev_info(i);
|
||||
if (!dev_info.isCompatible())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user