updated the mem_statistics ( since "current" is removed) and TOTAL_MEM as it is now types thru Any (and hence needs the as<>()) (#10135)
This commit is contained in:
@@ -760,8 +760,7 @@ InferenceEngine::IExecutableNetworkInternal::Ptr AutoBatchInferencePlugin::LoadN
|
||||
auto stats =
|
||||
pCore->GetMetric(device, ov::intel_gpu::memory_statistics.name()).as<std::map<std::string, uint64_t>>();
|
||||
for (auto s : stats)
|
||||
if (s.first.find("_current") != std::string::npos)
|
||||
footprint += s.second;
|
||||
footprint += s.second;
|
||||
return footprint;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user