mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
Merge pull request #12765 from cv3d:ts/cuda/device_name
This commit is contained in:
commit
449826288b
@ -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