Deprecated ov::Any implicit cast to any types (#9409)
* Depricated Any implicit cast * Fixed test * fixed gna build * Fixed warnings in benchmark_app * Fixed test build * ncc exception for PrintTo * Error mesage in test * Error mesage in test * fixed build
This commit is contained in:
1 parent
6677079821
commit
8993c4c18a
15 files changed
+130
-180
No files matched your search
@@ -225,8 +225,8 @@ MultiDeviceExecutableNetwork::MultiDeviceExecutableNetwork(const std::string&
|
||||
auto& deviceName = contextPtr->deviceInfo.deviceName;
|
||||
LOG_INFO("[AUTOPLUGIN]:device:%s loading Network finished",
|
||||
deviceName.c_str());
|
||||
std::vector<std::string> supported_config_keys =
|
||||
_core->GetMetric(deviceName, METRIC_KEY(SUPPORTED_CONFIG_KEYS));
|
||||
auto supported_config_keys =
|
||||
_core->GetMetric(deviceName, METRIC_KEY(SUPPORTED_CONFIG_KEYS)).as<std::vector<std::string>>();
|
||||
// there is log mutex in LOG_DEBUG, add _configMutex just want to print them all together
|
||||
// toDo maybe neet to implement LOG_RUN(task, LOG_LEVEL) to run some debug code.
|
||||
std::lock_guard<std::mutex> lock(_confMutex);
|
||||
@@ -671,7 +671,7 @@ void MultiDeviceExecutableNetwork::SetConfig(const std::map<std::string, Inferen
|
||||
} else {
|
||||
auto multiPlugin = std::dynamic_pointer_cast<MultiDeviceInferencePlugin>(this->_plugin);
|
||||
assert(multiPlugin != nullptr);
|
||||
auto metaDevices = multiPlugin->ParseMetaDevices(priorities->second, {});
|
||||
auto metaDevices = multiPlugin->ParseMetaDevices(priorities->second.as<std::string>(), {});
|
||||
|
||||
if (std::any_of(metaDevices.begin(), metaDevices.end(), [](const DeviceInformation& kvp) {
|
||||
return kvp.numRequestsPerDevices != -1;
|
||||
|
||||
Reference in new issue
Block a user