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 1bcd415 commit fc8e063
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Dialect/AIE/Transforms/AIEAssignBuffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ struct SimpleBankAwareAllocationPattern : public OpRewritePattern<TileOp> {
// Set addresses for remaining buffers.
int bankIndex = 0;
for (auto buffer : buffers)
bankIndex = setBufferAddress(buffer, numBanks, bankIndex, nextAddrInBanks, bankLimits);
bankIndex = setBufferAddress(buffer, numBanks, bankIndex, nextAddrInBanks,
bankLimits);

// Sort by smallest address before printing memory map.
std::sort(allBuffers.begin(), allBuffers.end(), [](BufferOp a, BufferOp b) {
Expand Down

0 comments on commit fc8e063

Please sign in to comment.