Browse Source

modify ihisi sc

tags/v1.3.0
chenyemeng 4 years ago
parent
commit
995b5c2540
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/hybrid/executor/subgraph_context.cc

+ 1
- 1
ge/hybrid/executor/subgraph_context.cc View File

@@ -84,7 +84,7 @@ NodeStatePtr SubgraphContext::GetOrCreateNodeState(const NodeItem *node_item) {
auto &node_state = node_states_[node_item];
if (node_state == nullptr) {
const auto &guard = node_item->MutexGuard("GetOrCreateNodeState");
node_state = std::move(std::unique_ptr<NodeState>(new(std::nothrow)NodeState(*node_item, this)));
node_state.reset(new(std::nothrow)NodeState(*node_item, this));
(void)guard;
}
GELOGD("[%s] unlock for write", node_item->NodeName().c_str());


Loading…
Cancel
Save