Skip to content

Save compressed SDFGs in program folder#2315

Merged
tbennun merged 2 commits intospcl:mainfrom
romanc:romanc/compressed-sdfgs-by-default
Mar 12, 2026
Merged

Save compressed SDFGs in program folder#2315
tbennun merged 2 commits intospcl:mainfrom
romanc:romanc/compressed-sdfgs-by-default

Conversation

@romanc
Copy link
Copy Markdown
Contributor

@romanc romanc commented Mar 5, 2026

Following up on PR #2312, this PR proposes to save compressed SDFGs in the program folder. As discussed in the last meeting:

  • no change to the API, i.e. we keep keyword arguments of sdfg.save() as they are.
  • save program.sdfg as compressed program.sdfgz inside the program folder
  • make sure that changes are backwards compatible and that the program folder is still found regardless of program.sdfg or program.sdfgz

@romanc romanc changed the title Save (and load) compressed SDFGs by default Save compressed SDFGs in program folder Mar 5, 2026
Copy link
Copy Markdown
Collaborator

@tbennun tbennun left a comment

Choose a reason for hiding this comment

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

Very minor changes

@romanc romanc marked this pull request as ready for review March 9, 2026 10:16
@romanc romanc requested a review from tbennun March 9, 2026 10:19
@romanc
Copy link
Copy Markdown
Contributor Author

romanc commented Mar 11, 2026

@tbennun what do you think of the added backwards compatibility?

@tbennun
Copy link
Copy Markdown
Collaborator

tbennun commented Mar 12, 2026

cscs-ci run

@tbennun tbennun enabled auto-merge March 12, 2026 14:18
@tbennun tbennun added this pull request to the merge queue Mar 12, 2026
Merged via the queue into spcl:main with commit 20a155d Mar 12, 2026
12 checks passed
@tbennun tbennun deleted the romanc/compressed-sdfgs-by-default branch March 12, 2026 15:46
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