[AUTO plugin] auto minor cleanup (#22583)
* remove redundant code and update the test case. * Update.
This commit is contained in:
parent
e87403a8e3
commit
10087cccd0
|
|
@ -118,8 +118,6 @@ ov::Any AutoCompiledModel::get_property(const std::string& name) const {
|
|||
return decltype(ov::optimal_number_of_infer_requests)::value_type{real};
|
||||
}
|
||||
requests = 0;
|
||||
// check if the real is default value or actual device didn't support this property.
|
||||
OPENVINO_ASSERT(m_scheduler->m_compile_context[CPU].m_is_already == true);
|
||||
try {
|
||||
// for benchmark through AUTO:CPU,GPU
|
||||
// SetConfig directly set to CPU/GPU in this case
|
||||
|
|
|
|||
|
|
@ -312,6 +312,7 @@ const std::vector<ConfigParams> testConfigs = {
|
|||
ConfigParams{false, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 1, 0, false, true},
|
||||
ConfigParams{true, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 48, 0, false, true},
|
||||
ConfigParams{false, 3, 5, true, 2, 5, false, ov::test::utils::DEVICE_GPU, 2, 0, false, true},
|
||||
ConfigParams{false, 3, 5, false, 2, 5, false, ov::test::utils::DEVICE_GPU, 2, 0, false, true},
|
||||
ConfigParams{true, 3, 5, true, 2, 5, false, ov::test::utils::DEVICE_GPU, 2, 0, false, true},
|
||||
ConfigParams{true, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 48, 48, false, true},
|
||||
ConfigParams{true, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 6, 6, false, true},
|
||||
|
|
|
|||
Loading…
Reference in New Issue