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

[quidditch_snitch] Basic implementations of DMA operations #54

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

zero9178
Copy link
Member

This PR implements DMA copy and wait operations. Snitch's DMA is asnychronous and has special hardware support for faster transfers between L1 and L3 than doing it manually. The currentl lowering to LLVM simple performs calls into the snitch runtime for convenience with the idea of these being later inlined via LTO once implemented.

Noteworthy is that the support for various memref shapes, strides and dimension is currently very limited but enough for what IREE generates.

This PR implements DMA copy and wait operations. Snitch's DMA is asnychronous and has special hardware support for faster transfers between L1 and L3 than doing it manually. The currentl lowering to LLVM simple performs calls into the snitch runtime for convenience with the idea of these being later inlined via LTO once implemented.

Noteworthy is that the support for various memref shapes, strides and dimension is currently very limited but enough for what IREE generates.
@zero9178 zero9178 merged commit 60afb0c into main Jun 27, 2024
1 check passed
@zero9178 zero9178 deleted the dma-operations branch June 27, 2024 18:31
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.

1 participant