mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
TS/CUDA: Show device ID in case of multiple devices
This commit is contained in:
parent
0492301e76
commit
2faa4cd933
@ -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() << "]";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user