Skip to content

refactor[next-dace]: remove dace orchestration support - #2960

Merged
havogt merged 2 commits into
GridTools:mainfrom
havogt:remove-dace-orchestration
Oct 30, 2026
Merged

havogt merged 2 commits into
GridTools:mainfrom
havogt:remove-dace-orchestration

Conversation

@havogt

@havogt havogt commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Removes the DaCe orchestration support from gt4py.next (calling GT4Py programs from inside a @dace.program). This is a user-facing removal.

Removed:

  • the SDFGConvertible subclass of Program (runners/dace/program.py) and the override in ffront/decorator.py that swapped it in when dace was importable;
  • the extractors pass (iterator/transforms/extractors.py), whose only user was that subclass;
  • the disable_itir_transforms option of the dace translator and of make_dace_translator;
  • the data_ptr / __descriptor__ dace interop on NdArrayField;
  • the tests dace_tests/test_orchestration.py, dace_tests/test_program.py and iterator_tests/test_extractors.py. test_step_builders_reach_all_step_settings now exercises disable_field_origin_on_program_arguments instead.

The connectivities compilation option stays (it is the default offset provider of Program.compile); only its docstring changed.

The CPU elif len(constant_symbols) != 0: branch in workflow/translation.py is kept on purpose; only its orchestration-specific comment was removed. It is still reached with auto_optimize=False on CPU together with use_zero_origin=True or unstructured_horizontal_has_unit_stride=True.

If this feature is required in the future we can resurrect it and expose it in a cleaner way, e.g. as a transformation on top of a program.

Remove the SDFGConvertible Program subclass, the extractors pass only it
used, the disable_itir_transforms translator option, the
data_ptr/__descriptor__ dace interop on NdArrayField, and their tests.
@havogt

havogt commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Written by an agent on behalf of @havogt

@havogt
havogt requested a review from edopao October 29, 2026 16:06
@havogt
havogt marked this pull request as ready for review October 29, 2026 16:37
…ration

# Conflicts:
#	src/gt4py/next/ffront/decorator.py
@havogt
havogt merged commit a89559f into GridTools:main Oct 30, 2026
24 checks passed
@havogt
havogt deleted the remove-dace-orchestration branch October 30, 2026 08:02
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