mlir-aie
mlir-aie copied to clipboard
[AIETarget] Support packet stream for ShimDMAs
This patch sets the packet bit when DMABDPacketOp is found in the ShimDMAOp region.
This patch also adds a 32x32x32 GEMM unit test. Unfortunately, currently this test case doesn't work on board -- the AIE stalls waiting for the shim DMA to send out the packet.
The layout of the design:
Ready to merge?
Ready to merge?
Because it doesn't work on board, I'm not sure whether there's anything wrong..
@jackl-xilinx Can you attempt to debug this?
@hanchenye #133 made some modifications to the create packet flow pass for the shimmux. It includes a working test on the board.
Hi @hanchenye. I apologize for not having addressed this PR for so long. I believe we ran into it again with @JinmingZhuang 's design which was fixed in #133 . I'll double check the design you're trying to check in here and see if I can verify it working on a board, then check if this change is still relevant and either merge it or remove it.
@jackl-xilinx I think #133 addresses most of this but does not make the same changes to lib/Targets/AIETargetXAIEV2.cpp
@jackl-xilinx Cool, thanks!
@jgmelber I made a new pull request here #154 which adds this functionality to lib/Targets/AIETargetXAIEV2.cpp.
@hanchenye Has this PR been superseded by #154 ?
What is the status of this PR?
Someone needs to look at this design again. My guess is that it will work, now that we've fixed some unrelated backend issues.
@stephenneuendorffer this is already implemented/merged/whatever right? I can see similar (same) lines in some places in the the moved/adjusted target files.
@stephenneuendorffer this is already implemented/merged/whatever right? I can see similar (same) lines in some places in the the moved/adjusted target files.
I think so.. I think it's mainly a matter of looking at the test designs. It's unclear to me whether this is well tested at the moment.