Removed pointer from ov::get_openvino_version (#8687)

* Removed pointer from ov::get_openvino_version

* Fixed issues with version print

* Clang-format
This commit is contained in:
Ilya Lavrenov
2021-11-22 15:21:09 +03:00
committed by GitHub
parent b05d90032b
commit 7c10998cf8
14 changed files with 39 additions and 40 deletions

View File

@@ -586,7 +586,7 @@ int main(int argc, char* argv[]) {
std::string deviceStr = useHetero && useGna ? "HETERO:GNA,CPU" : FLAGS_d.substr(0, (FLAGS_d.find("_")));
slog::info << "Device info: " << slog::endl;
std::cout << ie.GetVersions(deviceStr) << std::endl;
slog::info << ie.GetVersions(deviceStr) << slog::endl;
// -----------------------------------------------------------------------------------------------------
// --------------------------- Step 2. Read a model in OpenVINO Intermediate Representation (.xml and .bin