Skip to content

Commit

Permalink
Update lib/Dialect/AIE/Transforms/AIEAssignBuffers.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
AndraBisca and github-actions[bot] authored Apr 24, 2024
1 parent fe4aca8 commit 8a16dea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/Dialect/AIE/Transforms/AIEAssignBuffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,11 @@ struct SimpleBankAwareAllocationPattern : public OpRewritePattern<TileOp> {
return bankIndex;
}

LogicalResult checkAndPrintOverflow(TileOp tile, int numBanks, int stacksize,
SmallVector<BufferOp, 4> allBuffers,
std::vector<int64_t> &nextAddrInBanks,
std::vector<BankLimits> &bankLimits) const {
LogicalResult
checkAndPrintOverflow(TileOp tile, int numBanks, int stacksize,
SmallVector<BufferOp, 4> allBuffers,
std::vector<int64_t> &nextAddrInBanks,
std::vector<BankLimits> &bankLimits) const {
bool foundOverflow = false;
std::vector<int> overflow_banks;
for (int i = 0; i < numBanks; i++) {
Expand Down

0 comments on commit 8a16dea

Please sign in to comment.