Browse Source

modified: ge/graph/optimize/mem_rw_conflict_optimize.cc

tags/v1.1.0
zhaoxinxin 3 years ago
parent
commit
5f9e80b73e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/optimize/mem_rw_conflict_optimize.cc

+ 1
- 1
ge/graph/optimize/mem_rw_conflict_optimize.cc View File

@@ -234,7 +234,7 @@ InputRWType GetSingleNodeInputRWTypeByIndex(const Node &node, uint32_t index) {
return InputRWType::kInvalidRWType;
}
if (op_desc->GetType() == HCOMALLREDUCE || op_desc->GetType() == HCOMALLGATHER
|| op_desc->GetType() == HCOMREDUCESCATTER || op_desc->GetType() == HCOMREDUCE) {
|| op_desc->GetType() == HCOMREDUCESCATTER) {
return InputRWType::kScopeWriteable;
}
// check if it is ref input


Loading…
Cancel
Save