Skip to content

Commit

Permalink
fix passing storage scope
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Jun 29, 2021
1 parent bf132cf commit f392e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/te/schedule/schedule_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class SchedulePostProc : public StmtExprMutator {
auto it = replace_realize_.find(key);
if (it != replace_realize_.end()) {
if (it->second.defined()) {
Stmt ret = ProducerRealize(it->second, op->bounds, op->condition, op->body);
Stmt ret = ProducerRealize(it->second, op->bounds, op->condition, op->body, op->storage_scope);
return this->VisitStmt(ret);
} else {
return this->VisitStmt(op->body);
Expand Down

0 comments on commit f392e47

Please sign in to comment.