From 14fcd196a39eebf37bf43aa4c5fea7584d4fb06d Mon Sep 17 00:00:00 2001 From: Maxim Shevtsov Date: Mon, 7 Feb 2022 17:31:12 +0300 Subject: [PATCH] updated the mem_statistics ( since "current" is removed) and TOTAL_MEM as it is now types thru Any (and hence needs the as<>()) (#10135) --- src/plugins/auto_batch/auto_batch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/auto_batch/auto_batch.cpp b/src/plugins/auto_batch/auto_batch.cpp index 3d94e13e31f..fc22a4e53fe 100644 --- a/src/plugins/auto_batch/auto_batch.cpp +++ b/src/plugins/auto_batch/auto_batch.cpp @@ -760,8 +760,7 @@ InferenceEngine::IExecutableNetworkInternal::Ptr AutoBatchInferencePlugin::LoadN auto stats = pCore->GetMetric(device, ov::intel_gpu::memory_statistics.name()).as>(); for (auto s : stats) - if (s.first.find("_current") != std::string::npos) - footprint += s.second; + footprint += s.second; return footprint; };