mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
added gpu::printCudaDeviceInfo to all samples
This commit is contained in:
@@ -71,6 +71,8 @@ int main(int argc, char **argv)
|
||||
|
||||
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