added gpu::printCudaDeviceInfo to all samples

This commit is contained in:
Vladislav Vinogradov
2012-01-30 07:20:09 +00:00
parent ed038ef9dc
commit d38ca09738
17 changed files with 213 additions and 1 deletions

View File

@@ -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())
{