Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalandi committed Sep 18, 2023
1 parent f1a3c8e commit 5466c57
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/plugins/template/src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Configuration::Configuration(const ov::AnyMap& config, const Configuration& defa
execution_mode = value.as<ov::hint::ExecutionMode>();
if ((execution_mode != ov::hint::ExecutionMode::ACCURACY) &&
(execution_mode != ov::hint::ExecutionMode::PERFORMANCE)) {
OPENVINO_THROW("Unsupported execution mode, should be ACCURACY or PERFORMANCE, but was: ", value.as<std::string>());
OPENVINO_THROW("Unsupported execution mode, should be ACCURACY or PERFORMANCE, but was: ",
value.as<std::string>());
}
} else if (ov::num_streams == key) {
streams_executor_config.set_property(key, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_AutoBatch_BehaviorTests,
OVClassCompiledModelPropertiesIncorrectTests::getTestCaseName);

const std::vector<ov::AnyMap> default_properties = {
{ov::enable_profiling(true)},
{ov::enable_profiling(false)},
{{ov::loaded_from_cache.name(), false}},
{ov::device::id("0")},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
OVPropertiesIncorrectTests::getTestCaseName);

const std::vector<ov::AnyMap> default_properties = {
{ov::enable_profiling(true)},
{ov::enable_profiling(false)},
{ov::device::id(0)},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const std::vector<ov::AnyMap> multiModelPriorityConfigs = {

INSTANTIATE_TEST_SUITE_P(ov_compiled_model_mandatory,
OVClassCompiledModelGetPropertyTest_MODEL_PRIORITY,
::testing::Combine(::testing::Values(return_all_possible_device_combination()),
::testing::Combine(::testing::ValuesIn(return_all_possible_device_combination()),
::testing::ValuesIn(multiModelPriorityConfigs)));

} // namespace

0 comments on commit 5466c57

Please sign in to comment.