Skip to content

Commit

Permalink
Fix compilation (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
sivanov-work authored May 2, 2023
1 parent e1beaba commit c93ce71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/utils/semantic_segmentation_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

#pragma once
#include <limits>

#include <ie_blob.h>

Expand Down
4 changes: 2 additions & 2 deletions src/vpux_utils/src/plugin/profiling_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ ClusterTaskArray groupClusterTasks(const RawProfilingRecords& rawTasks) {

// Grouping of variants into one invariant
std::multimap<std::pair<std::string, size_t>, RawProfilingRecordPtr> groupedClustersInfo;
for (const auto task : rawTasks) {
for (const auto &task : rawTasks) {
const auto clusterId = std::dynamic_pointer_cast<ClusteredAndTiledMixin>(task)->getClusterId();
const auto key = std::make_pair(task->getRawName(), clusterId);
groupedClustersInfo.insert(std::make_pair(key, task));
Expand Down Expand Up @@ -1233,7 +1233,7 @@ RawProfilingRecords groupTasks(const ClusterTaskArray& clusterInfoTasks) {

// Grouping of invariants to one NCE Task
std::multimap<std::string, std::shared_ptr<ArrayRecord>> groupedDPUTasksInfo;
for (const auto task : clusterInfoTasks) {
for (const auto &task : clusterInfoTasks) {
groupedDPUTasksInfo.insert(std::make_pair(task->getRawName(), task));
}
auto it = groupedDPUTasksInfo.cbegin();
Expand Down

0 comments on commit c93ce71

Please sign in to comment.