Skip to content

Conversation

@edopao
Copy link
Contributor

@edopao edopao commented Dec 5, 2025

Change the visitor class so that we can generate unique labels for temporaries/maps/tasklets across all nested SDFG.

@edopao edopao changed the title fix[next[dace]: Better usage of SubgraphContext during SDFG lowering fix[next][dace]: Better usage of SubgraphContext during SDFG lowering Dec 5, 2025
@edopao edopao marked this pull request as ready for review December 5, 2025 16:25
Copy link
Contributor

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

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

An initial review, if you need clarification let me know.

Copy link
Contributor Author

@edopao edopao left a comment

Choose a reason for hiding this comment

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

Thanks for the review comments!

Copy link
Contributor

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

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

It looks okay, there are some parts I have a bit trouble understanding, especially the motivation behind it, but there should be nothing blocking.

@edopao
Copy link
Contributor Author

edopao commented Dec 23, 2025

Performance looks good:
bench_blueline_stencil_compute

We wait for the icon4py PR#898 to be merged, because we need to remove a write-write pattern which dace state fusion cannot handle (see spcl/dace#2256). This PR reveals the issue, because of non-deterministic code generation, by introducing a new name convention of transient arrays and map nodes.

@edopao
Copy link
Contributor Author

edopao commented Jan 8, 2026

@philip-paul-mueller I think I have addressed all your review comments.

Copy link
Contributor

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

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

I have some smallish suggestions, nothing big that would justify another round.

@edopao edopao merged commit 33ae2a6 into GridTools:main Jan 8, 2026
23 checks passed
@edopao edopao deleted the dace-one_sdfg_builder branch January 8, 2026 14:15
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