record cuda gpu name to output report
This commit is contained in:
parent
b7ec673001
commit
2899d558ac
@ -741,6 +741,14 @@ void TestBase::RecordRunParameters()
|
|||||||
{
|
{
|
||||||
::testing::Test::RecordProperty("cv_implementation", param_impl);
|
::testing::Test::RecordProperty("cv_implementation", param_impl);
|
||||||
::testing::Test::RecordProperty("cv_num_threads", param_threads);
|
::testing::Test::RecordProperty("cv_num_threads", param_threads);
|
||||||
|
|
||||||
|
#ifdef HAVE_CUDA
|
||||||
|
if (param_impl == "cuda")
|
||||||
|
{
|
||||||
|
cv::gpu::DeviceInfo info(param_cuda_device);
|
||||||
|
::testing::Test::RecordProperty("cv_cuda_gpu", info.name());
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string TestBase::getSelectedImpl()
|
std::string TestBase::getSelectedImpl()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user