Skip to content

Commit

Permalink
[CPU] Remove get_friendly_name WA
Browse files Browse the repository at this point in the history
The ngraph issue has been fixed.
WA is not needed anymore.
  • Loading branch information
EgorDuplensky committed Oct 6, 2021
1 parent cddfeda commit ad8c4f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions inference-engine/src/mkldnn_plugin/mkldnn_exec_network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@ MKLDNNExecNetwork::MKLDNNExecNetwork(const InferenceEngine::CNNNetwork &network,
_callbackExecutor = _taskExecutor;
}

// Workaround for initializing friendly names for all the OPs
// Otherwise they are initialized concurrently without thread safety.
// TODO: Can be removed after 57069 is done.
for (const auto& op : _network.getFunction()->get_ops()) {
op->get_friendly_name();
}

int streams = std::max(1, _cfg.streamExecutorConfig._streams);
std::vector<Task> tasks; tasks.resize(streams);
_graphs.resize(streams);
Expand Down

0 comments on commit ad8c4f3

Please sign in to comment.