Revert "OpenVINO runtime Configuration API (#7750)" (#9828)

This reverts commit 400e9ad916.
This commit is contained in:
Alexander Zhogov authored and GitHub committed 2022-01-21 13:30:39 +03:00
1 parent 967fc0a756
commit 79ff926b6d
154 files changed
+863 -2028

No files matched your search

@@ -20,13 +20,13 @@ const std::vector<ov::element::Type_t> netPrecisions = {
ov::element::f16,
ov::element::f32,
};
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{},
};
const std::vector<ov::AnyMap> multiConfigs = {
const std::vector<std::map<std::string, std::string>> multiConfigs = {
{{InferenceEngine::MultiDeviceConfigParams::KEY_MULTI_DEVICE_PRIORITIES, CommonTestUtils::DEVICE_TEMPLATE}}};
const std::vector<ov::AnyMap> heteroConfigs = {
const std::vector<std::map<std::string, std::string>> heteroConfigs = {
{{"TARGET_FALLBACK", CommonTestUtils::DEVICE_TEMPLATE}}};
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
@@ -9,7 +9,7 @@
using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
@@ -7,7 +7,7 @@
using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{},
};
@@ -10,11 +10,11 @@ using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
const std::vector<ov::AnyMap> HeteroConfigs = {
const std::vector<std::map<std::string, std::string>> HeteroConfigs = {
{{"TARGET_FALLBACK", CommonTestUtils::DEVICE_TEMPLATE}}};
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests, OVInferRequestDynamicTests,
@@ -9,11 +9,11 @@ using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
const std::vector<ov::AnyMap> HeteroConfigs = {
const std::vector<std::map<std::string, std::string>> HeteroConfigs = {
{{"TARGET_FALLBACK", CommonTestUtils::DEVICE_TEMPLATE}}};
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests, OVInferenceChaining,
@@ -9,7 +9,7 @@
using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
@@ -38,12 +38,12 @@ std::vector<ov::element::Type> prcs = {
ov::element::u64,
};
const std::vector<ov::AnyMap> emptyConfigs = {{}};
const std::vector<std::map<std::string, std::string>> emptyConfigs = {{}};
const std::vector<ov::AnyMap> HeteroConfigs = {
const std::vector<std::map<std::string, std::string>> HeteroConfigs = {
{{"TARGET_FALLBACK", CommonTestUtils::DEVICE_TEMPLATE}}};
const std::vector<ov::AnyMap> Multiconfigs = {
const std::vector<std::map<std::string, std::string>> Multiconfigs = {
{{ MULTI_CONFIG_KEY(DEVICE_PRIORITIES) , CommonTestUtils::DEVICE_TEMPLATE}}
};
@@ -10,7 +10,7 @@ using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
@@ -9,7 +9,7 @@
using namespace ov::test::behavior;
namespace {
const std::vector<ov::AnyMap> configs = {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
@@ -110,7 +110,7 @@ std::vector<ngraph::helpers::EltwiseTypes> eltwiseOpTypesSingleThread = {
ngraph::helpers::EltwiseTypes::POWER,
};
ov::AnyMap additional_config_single_thread = {
std::map<std::string, std::string> additional_config_single_thread = {
{"CPU_THREADS_NUM", "1"}
};
@@ -40,7 +40,7 @@ const auto params2D_static = testing::Combine(
testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputStaticShape2D)),
testing::ValuesIn(axis2D),
testing::Values(CommonTestUtils::DEVICE_TEMPLATE),
testing::Values(ov::AnyMap())
testing::Values(std::map<std::string, std::string>())
);
const auto params2D_dynamic = testing::Combine(
@@ -50,7 +50,7 @@ const auto params2D_dynamic = testing::Combine(
testing::ValuesIn(inputDynamicShape2D),
testing::ValuesIn(axis2D),
testing::Values(CommonTestUtils::DEVICE_TEMPLATE),
testing::Values(ov::AnyMap())
testing::Values(std::map<std::string, std::string>())
);
INSTANTIATE_TEST_SUITE_P(
@@ -88,7 +88,7 @@ const auto params4Dstatic = testing::Combine(
testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputStaticShape4D)),
testing::ValuesIn(axis4D),
testing::Values(CommonTestUtils::DEVICE_TEMPLATE),
testing::Values(ov::AnyMap())
testing::Values(std::map<std::string, std::string>())
);
const auto params4Ddynamic = testing::Combine(
@@ -98,7 +98,7 @@ const auto params4Ddynamic = testing::Combine(
testing::ValuesIn(inputDynamicShape4D),
testing::ValuesIn(axis4D),
testing::Values(CommonTestUtils::DEVICE_TEMPLATE),
testing::Values(ov::AnyMap())
testing::Values(std::map<std::string, std::string>())
);
INSTANTIATE_TEST_SUITE_P(