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

[DmaToNpu] Add packet support for NpuDmaMemcpyNdOp #785

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

jtuyls
Copy link
Collaborator

@jtuyls jtuyls commented Sep 18, 2024

@@ -376,6 +376,13 @@ struct DmaToNpuPattern : OpConversionPattern<NpuDmaMemcpyNdOp> {
// repeat_count
repeat_count = IntegerAttr::get(i32ty, sizes[3] - 1);

// enable_packet
if (auto packetInfo = op.getPacket()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the first place that packet control is turned on?

Copy link
Collaborator Author

@jtuyls jtuyls Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E2E you mean? I have one hacked example working locally that enables it for L3 -> L2 data movement, but I am working on generalizing it.

EDIT: And this is not packet control, but packet routing.

@jtuyls jtuyls merged commit 91a4993 into nod-ai:main Sep 18, 2024
6 checks passed
@jtuyls jtuyls deleted the aiex_dma_packet branch September 18, 2024 16:35
daveliddell pushed a commit to daveliddell/iree-amd-aie that referenced this pull request Oct 7, 2024
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