Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
fix temp array object reference in manifest_shared_memory_local_stage (
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongtest-intellif authored and xinetzone committed Nov 25, 2022
1 parent ea69ebf commit 07df1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tir/transforms/manifest_shared_memory_local_stage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace tir {
*/
class IntermediateStageRewriter {
public:
explicit IntermediateStageRewriter(const Array<Stmt>& ancestor_loop_or_blocks)
explicit IntermediateStageRewriter(const std::vector<Stmt>& ancestor_loop_or_blocks)
: ancestor_loop_or_blocks_(ancestor_loop_or_blocks) {}

std::tuple<Buffer, Buffer, Block, Stmt> Rewrite(const BlockNode* block) {
Expand Down Expand Up @@ -165,7 +165,7 @@ class IntermediateStageRewriter {
return {new_buffer, buffer_indices};
}

const Array<Stmt>& ancestor_loop_or_blocks_;
const std::vector<Stmt>& ancestor_loop_or_blocks_;
};

class SharedMemoryLocalStageInserter : public StmtMutator {
Expand Down

0 comments on commit 07df1a0

Please sign in to comment.