Skip to content

WIP - fix[cartesian]: loop reordering in schedule tree#2546

Draft
romanc wants to merge 2 commits intoGridTools:mainfrom
romanc:romanc/fix-k-loop-flipping
Draft

WIP - fix[cartesian]: loop reordering in schedule tree#2546
romanc wants to merge 2 commits intoGridTools:mainfrom
romanc:romanc/fix-k-loop-flipping

Conversation

@romanc
Copy link
Contributor

@romanc romanc commented Mar 23, 2026

Description

⚠️ work in progress

This PR fixes the loop reordering in the schedule tree. Loop reordering is used as part of the automatic adaption to different memory layouts. The current implementation would run into issues when re-ordering sequential vertical loops (e.g. with computation(FORWARD) or with computation(BACKWARD)).

The issue is part of an ongoing effort to stabilize/validate the remapping translate test with different loop/memory layouts.

Requirements

  • All fixes and/or new features come with corresponding tests.
  • Important design decisions have been documented in the appropriate ADR inside the docs/development/ADRs/ folder.
    N/A

@romanc romanc force-pushed the romanc/fix-k-loop-flipping branch from 10f824c to c1a3422 Compare March 23, 2026 16:19
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.

1 participant