Skip to content

Perf loop nesting#2350

Draft
ThrudPrimrose wants to merge 11 commits into
mainfrom
perf-loop-nesting
Draft

Perf loop nesting#2350
ThrudPrimrose wants to merge 11 commits into
mainfrom
perf-loop-nesting

Conversation

@ThrudPrimrose
Copy link
Copy Markdown
Collaborator

No description provided.

Adds two tests to tests/transformations/perf_loop_nesting_test.py:

- test_velocity_for_it_35_pattern_fissions_into_two_parents:
  reconstructs the CFL-clipping kernel's _for_it_35 shape from the
  ICON velocity-tendencies pipeline (outer parent with dual read/
  write on cfl_clipping/z_w_con_c/maxvcfl, NSDFG with two sibling
  inner maps). Verifies PLN fissions it into K=2 parents.

- test_pln_on_parent_inside_nested_sdfg_must_use_owning_sdfg:
  regression for the case where the parent MapEntry lives inside a
  NestedSDFG. can_be_applied_to / apply_to must receive the owning
  (nested) SDFG; passing the top-level SDFG raises StopIteration
  via the internal sdfg.states() lookup.

A shared _build_velocity_for_it_35_pattern() helper constructs the
topology once and is reused by both tests.
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