Skip to content

Commit

Permalink
Do not always assign buffers to mem_bank 0 (Xilinx#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Nov 4, 2024
1 parent 9a48bfb commit dcabc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Conversion/AIRToAIEPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ AIE::BufferOp allocateBufferOp(uint64_t &BufferId, MemRefType memrefTy,
AIE::BufferOp bufferOp = builder.create<AIE::BufferOp>(
tile->getLoc(), memrefTy, tile, /*sym_name*/ nullptr,
/*address*/ nullptr, /*initial_value*/ nullptr,
/*mem_bank*/ builder.getI32IntegerAttr(0));
/*mem_bank*/ nullptr);

std::stringstream ss =
generateBufferNameInStringStream("buf", BufferId, attr, x, y);
Expand Down

0 comments on commit dcabc84

Please sign in to comment.