1.Remove MULTI test cases 2.Reduce iteration from 50 to 10 (#17551)
Co-authored-by: Chen Peter <peter.chen@intel.com>
This commit is contained in:
parent
9f1757f400
commit
b93b863bac
@ -44,43 +44,17 @@ std::vector<Configs> AutoConfigs = {
|
||||
}
|
||||
};
|
||||
|
||||
std::vector<Configs> MultiConfigs = {
|
||||
{
|
||||
{
|
||||
CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_CPU,
|
||||
{ov::hint::performance_mode(ov::hint::PerformanceMode::LATENCY)}
|
||||
},
|
||||
{CommonTestUtils::DEVICE_CPU, {}}
|
||||
},
|
||||
{
|
||||
{
|
||||
CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_CPU,
|
||||
{ov::hint::performance_mode(ov::hint::PerformanceMode::THROUGHPUT)}
|
||||
},
|
||||
{CommonTestUtils::DEVICE_CPU, {}}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(10),// inferRequest num
|
||||
::testing::Values(50),// infer counts
|
||||
::testing::Values(10),// infer counts
|
||||
::testing::ValuesIn(configs)),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(Auto_BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(10),// inferRequest num
|
||||
::testing::Values(50),// infer counts
|
||||
::testing::Values(10),// infer counts
|
||||
::testing::ValuesIn(AutoConfigs)),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(Multi_BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(10),// inferRequest num
|
||||
::testing::Values(50),// infer counts
|
||||
::testing::ValuesIn(MultiConfigs)),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -52,33 +52,6 @@ auto AutoConfigs = []() {
|
||||
{CommonTestUtils::DEVICE_GPU, {}}}};
|
||||
};
|
||||
|
||||
auto MultiConfigs = []() {
|
||||
return std::vector<Configs>{{{CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_GPU,
|
||||
{ov::hint::performance_mode(ov::hint::PerformanceMode::LATENCY)}},
|
||||
{CommonTestUtils::DEVICE_GPU, {}}},
|
||||
{{CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_GPU,
|
||||
{ov::hint::performance_mode(ov::hint::PerformanceMode::THROUGHPUT)}},
|
||||
{CommonTestUtils::DEVICE_GPU, {}}},
|
||||
{{CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_GPU + "," +
|
||||
CommonTestUtils::DEVICE_CPU,
|
||||
{ov::hint::performance_mode(ov::hint::PerformanceMode::LATENCY)}},
|
||||
{CommonTestUtils::DEVICE_GPU, {}},
|
||||
{CommonTestUtils::DEVICE_CPU, {}}},
|
||||
{{CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_GPU + "," +
|
||||
CommonTestUtils::DEVICE_CPU,
|
||||
{ov::hint::performance_mode(ov::hint::PerformanceMode::THROUGHPUT)}},
|
||||
{CommonTestUtils::DEVICE_GPU, {}},
|
||||
{CommonTestUtils::DEVICE_CPU, {}}}};
|
||||
};
|
||||
|
||||
auto MultiBindConfigs = []() {
|
||||
return std::vector<Configs>{{{CommonTestUtils::DEVICE_MULTI + std::string(":") + CommonTestUtils::DEVICE_GPU + "," +
|
||||
CommonTestUtils::DEVICE_CPU,
|
||||
{ov::intel_auto::device_bind_buffer(true)}},
|
||||
{CommonTestUtils::DEVICE_GPU, {}},
|
||||
{CommonTestUtils::DEVICE_CPU, {}}}};
|
||||
};
|
||||
|
||||
auto AutoBindConfigs = []() {
|
||||
return std::vector<Configs>{{{CommonTestUtils::DEVICE_AUTO + std::string(":") + CommonTestUtils::DEVICE_GPU + "," +
|
||||
CommonTestUtils::DEVICE_CPU,
|
||||
@ -97,36 +70,21 @@ auto AutoBindConfigs = []() {
|
||||
INSTANTIATE_TEST_SUITE_P(BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(10),// inferRequest num
|
||||
::testing::Values(50),// infer counts
|
||||
::testing::Values(10),// infer counts
|
||||
::testing::ValuesIn(configs())),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(Auto_BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(10),// inferRequest num
|
||||
::testing::Values(50),// infer counts
|
||||
::testing::Values(10),// infer counts
|
||||
::testing::ValuesIn(AutoConfigs())),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(Multi_BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(10),// inferRequest num
|
||||
::testing::Values(50),// infer counts
|
||||
::testing::ValuesIn(MultiConfigs())),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(Auto_Bind_BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(0),// inferRequest num, will use optimal request number if set 0
|
||||
::testing::Values(100),// infer counts
|
||||
::testing::Values(10),// infer counts
|
||||
::testing::ValuesIn(AutoBindConfigs())),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(Multi_Bind_BehaviorTests, OVInferConsistencyTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(0),// inferRequest num, will use optimal request number if set 0
|
||||
::testing::Values(100),// infer counts
|
||||
::testing::ValuesIn(MultiBindConfigs())),
|
||||
OVInferConsistencyTest::getTestCaseName);
|
||||
|
||||
} // namespace
|
Loading…
Reference in New Issue
Block a user