Commit 2faa4cd9 authored by Hamdi Sahloul's avatar Hamdi Sahloul

TS/CUDA: Show device ID in case of multiple devices

parent 0492301e
......@@ -559,4 +559,6 @@ namespace cvtest
void cv::cuda::PrintTo(const DeviceInfo& info, std::ostream* os)
{
(*os) << info.name();
if (info.deviceID())
(*os) << " [ID: " << info.deviceID() << "]";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment