forked from GridTools/gt4py
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor[next]: workflowify step3 (GridTools#1516)
## Description ### New: - `ffront.stages.FieldOperatorDefinition` - all the data to start the toolchain from a field operator dsl definition - `ffront.stages.FoastOperatorDefinition` - data after lowering from field operator dsl code - `ffront.stages.FoastWithTypes` - program argument types in addition to the foast definition for creating a program AST - `ffront.stages.FoastClosure` - program arguments in addition to the foast definition, ready to run the whole toolchain ### Changed: - `decorator.Program.__post_init__` - implementation moved to `past_passes.linters` workflow steps - linting stage added to program transforms - `decorator.FieldOperator.from_function` - implementation moved to workflow step in `ffront.func_to_foast` - `decorator.FieldOperator.as_program` - implementation moved to workflow steps in `ffront.foast_to_past` - `decorator.FieldOperator` data attributes - added: `definition_stage` - removed: - `.foast_node`: replaced with `.foast_stage.foast_node` - `.definition`: replaced with `.definition_stage.definition` - `next.backend.Backend` - renamed: `.transformer` -> `.transforms_prog` - added: `.transforms_fop`, toolchain for starting from field operator - `otf.recipes.FieldOpTransformWorkflow` - now has all the steps from DSL field operator to `ProgramCall` via `foast_to_past`, with additional steps to go to the field operator IteratorIR expression directly instead (not run by default). The latter `foast_to_itir` step is required during lowering of programs that call a field operator.
- Loading branch information
Showing
21 changed files
with
1,411 additions
and
248 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.