mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +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)
|
void cv::cuda::PrintTo(const DeviceInfo& info, std::ostream* os)
|
||||||
{
|
{
|
||||||
(*os) << info.name();
|
(*os) << info.name();
|
||||||
|
if (info.deviceID())
|
||||||
|
(*os) << " [ID: " << info.deviceID() << "]";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user