From dae03273cde84699a4279913b36f58c118a13da9 Mon Sep 17 00:00:00 2001 From: Wu Zhiwen Date: Mon, 24 Dec 2018 11:00:45 +0800 Subject: [PATCH] dnn: fixup missing vkcom/vulkan combination of backend/target in dnn test --- modules/dnn/test/test_common.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/dnn/test/test_common.hpp b/modules/dnn/test/test_common.hpp index 21a25168ea..c93eb3f7cb 100644 --- a/modules/dnn/test/test_common.hpp +++ b/modules/dnn/test/test_common.hpp @@ -236,6 +236,12 @@ testing::internal::ParamGenerator< tuple > dnnBackendsAndTarget for (std::vector< Target >::const_iterator i = available.begin(); i != available.end(); ++i) targets.push_back(make_tuple(DNN_BACKEND_INFERENCE_ENGINE, *i)); } + if (withVkCom) + { + available = getAvailableTargets(DNN_BACKEND_VKCOM); + for (std::vector< Target >::const_iterator i = available.begin(); i != available.end(); ++i) + targets.push_back(make_tuple(DNN_BACKEND_VKCOM, *i)); + } { available = getAvailableTargets(DNN_BACKEND_OPENCV); for (std::vector< Target >::const_iterator i = available.begin(); i != available.end(); ++i)