Skip to content

compiler: Patch halo exchange placement at stree construction time - #3013

Open
FabioLuporini wants to merge 3 commits into
mainfrom
cpml-sched-bug-v3
Open

compiler: Patch halo exchange placement at stree construction time#3013
FabioLuporini wants to merge 3 commits into
mainfrom
cpml-sched-bug-v3

Conversation

@FabioLuporini

Copy link
Copy Markdown
Contributor

tests in PRO

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.63%. Comparing base (4109b58) to head (de99bdf).

Files with missing lines Patch % Lines
devito/ir/stree/algorithms.py 69.23% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3013      +/-   ##
==========================================
- Coverage   83.68%   83.63%   -0.06%     
==========================================
  Files         257      257              
  Lines       54711    54712       +1     
  Branches     4686     4688       +2     
==========================================
- Hits        45785    45758      -27     
- Misses       8115     8138      +23     
- Partials      811      816       +5     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.48% <73.33%> (-0.02%) ⬇️
pytest-gpu-gcc- 78.21% <76.47%> (-0.11%) ⬇️
pytest-gpu-icx- 78.14% <76.47%> (-0.09%) ⬇️
pytest-gpu-nvc-nvidiaX 69.11% <73.33%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

if not all(c1.guards.get(d) == c.guards.get(d) for d in diff):
continue

# There must be at least one distributed Dimension

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to immediately after dist_aindices = c1.halo_scheme.distributed_aindices to short circuit quicker

Comment thread tests/test_dle.py
assert len(trees[0]) == len(trees[1])
assert all(i is j for i, j in zip(trees[0][:4], trees[1][:4], strict=True))
assert trees[0][4] is not trees[1][4]
assert len(trees) == 1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the big change here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants