build: update gt4py to get compiler support#399
Merged
FlorianDeconinck merged 2 commits intoMar 12, 2026
Conversation
The PR adds extended compiler support by updating GT4Py, which now auto-detects compilers (gnu, intel, clang, and apple-clang) and sets defaults for the compiler flags accordingly. For example, not all compilers have the same OpenMP flags and `apple-clang` doesn't support it out of the box anyway. All of this is now caputred at the GT4Py level. In additition, GT4Py now automatically disables FMA operations in case of `-O0` (optimization level 0) to help with stability in porting when comparing to Fortran generated reference data.
…DaceConfig Fix optimization level (potentially) ignored on GPU
FlorianDeconinck
approved these changes
Mar 12, 2026
Collaborator
FlorianDeconinck
left a comment
There was a problem hiding this comment.
Looking good - I pushed changes to the dace_config to reflect the gt4py.cartesian defaults
Let's wait for the CI to bless us again
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The PR adds extended compiler support by updating GT4Py, which now auto-detects compilers (gnu, intel, clang, and apple-clang) and sets defaults for the compiler flags accordingly. For example, not all compilers have the same OpenMP flags and
apple-clangdoesn't support it out of the box anyway. All of this is now captured at the GT4Py level.In addiition, GT4Py now automatically disables FMA operations in case of
-O0(optimization level 0) to help with stability in porting when comparing to Fortran generated reference data.How has this been tested?
GT4Py changes were tested manually (because resetting environment variables and reloading the configuration isn't possible from within the
pytestframework).Checklist