Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have AIECtrlPacketToDmaPass create dynamic MemRefType for ctrl packet stream #1776

Merged

Conversation

erwei-xilinx
Copy link
Collaborator

…instead of hard coded.

@fifield
Copy link
Collaborator

fifield commented Sep 18, 2024

…instead of hard coded.

Could it also be <?xi32>? Does the size even matter since the length of transfer is encoded in the memcpy_nd?

@erwei-xilinx
Copy link
Collaborator Author

erwei-xilinx commented Sep 18, 2024

…instead of hard coded.

Could it also be <?xi32>? Does the size even matter since the length of transfer is encoded in the memcpy_nd?

Good point. Yeah it should work. PR updated. I also modified the verifier for AIEX::NpuDmaMemcpyOp slightly just to unblock dynamic shaped memrefs, but I don't think the memcpy op fundamentally requires the memref to be static.

@erwei-xilinx erwei-xilinx changed the title Have AIECtrlPacketToDmaPass figure out the ctrl packet stream size Have AIECtrlPacketToDmaPass create dynamic MemRefType for ctrl packet stream Sep 18, 2024
@erwei-xilinx erwei-xilinx added this pull request to the merge queue Sep 18, 2024
Merged via the queue into Xilinx:main with commit d0d6ba7 Sep 18, 2024
67 checks passed
@erwei-xilinx erwei-xilinx deleted the ctrlpkt_to_dma_get_packet_stream_size branch September 18, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants