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