Skip to content

refactor[next-dace]: use add_scope_connectors() - #2902

Merged
edopao merged 10 commits into
GridTools:mainfrom
edopao:refactor-next-connectors
Sep 18, 2026
Merged

edopao merged 10 commits into
GridTools:mainfrom
edopao:refactor-next-connectors

Conversation

@edopao

@edopao edopao commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Addresses review comment in #2874. Replaces in next code base:

        me.add_in_connector(f"IN_{name}")
        me.add_out_connector(f"OUT_{name}")

with:

        me.add_scope_connector(name)`

DaCe 2.0.0a9 (spcl/dace#2576) makes SDFGState.add_nested_sdfg eagerly run
scope_dict validation. Several transformation tests built the outer state in an
order that left a map exit as a spurious source node when the nested SDFG was
added, tripping "Leftover nodes in queue". Reorder construction so the map
output side is wired up only after the nested SDFG is connected.
@edopao edopao mentioned this pull request Sep 18, 2026
1 task
@edopao
edopao marked this pull request as ready for review September 18, 2026 11:01

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@edopao
edopao merged commit f463f01 into GridTools:main Sep 18, 2026
24 checks passed
@edopao
edopao deleted the refactor-next-connectors branch September 18, 2026 12:10
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