Skip to content

Commit

Permalink
Merge branch 'alloc-tmem' into tmem-copy-kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm committed Jan 30, 2025
2 parents 8bcbcae + 12ccf82 commit f9adf69
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions csrc/device_lower/pass/allocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,9 +871,10 @@ std::vector<Expr*> insertTMemRegionAllocsAndDeallocs(
kir::Asm::Options{/*volatile=*/true});
prologue.push_back(tcgen05_relinquish_expr);

// Block sync that makes allocation visible to all threads
auto block_sync = IrBuilder::create<kir::BlockSync>();
prologue.push_back(block_sync);
// Block sync that makes allocation visible to all threads
auto block_sync = IrBuilder::create<kir::BlockSync>();
prologue.push_back(block_sync);
}
}

// Add deallocations to existing expressions
Expand Down

0 comments on commit f9adf69

Please sign in to comment.