Skip to content

Make DaCe Folder Self Consistent (again)#2355

Merged
tbennun merged 3 commits into
spcl:mainfrom
philip-paul-mueller:self_containing_dace_folder
May 20, 2026
Merged

Make DaCe Folder Self Consistent (again)#2355
tbennun merged 3 commits into
spcl:mainfrom
philip-paul-mueller:self_containing_dace_folder

Conversation

@philip-paul-mueller

@philip-paul-mueller philip-paul-mueller commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

In PR#2331 and PR#2348 the possibility of different folder modes/versions was introduced with the goal of reducing the size of the generated folder. The idea was to "only dump what is needed".

In production program.sdfgz (serialized SDFG) was not dumped. This had the effect that it is not possible to construct a CompiledSDFG object (and call the SDFG from Python) without having the source SDFG in the first place. This PR solves this issue by again dumping the SDFG.

Note in the long run one should switch to nanobind instead of ctype, which would make the binary an importable package and would also allow to offload the processing of the arguments to C++.
For more information on this see issue#2362.

@philip-paul-mueller
philip-paul-mueller marked this pull request as ready for review May 8, 2026 09:33
@tbennun
tbennun added this pull request to the merge queue May 20, 2026
Merged via the queue into spcl:main with commit 5628519 May 20, 2026
16 checks passed
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