FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

compiler: Fix handling for determining if functions on subdomains touch the halo by EdCaunt · Pull Request #2988 · devitocodes/devito · GitHub

compiler: Fix handling for determining if functions on subdomains touch the halo - #2988

Merged
mloubout merged 2 commits into
mainfrom
halotouch-redux
Aug 5, 2026
Merged

compiler: Fix handling for determining if functions on subdomains touch the halo#2988
mloubout merged 2 commits into
mainfrom
halotouch-redux

Conversation

EdCaunt commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread devito/ir/support/basic.py Outdated
# array allocated on the SubDomain. As such, they do not represent a shift of index
# on the physical grid and can (and should) be zeroed for the purpose of determining
# if the halo is touched.
tkns_subs = {tkn: 0 for tkn in self[findex].free_symbols if isinstance(tkn, Thickness)}

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

search(self[findex], Thickness) ?

Comment thread devito/ir/support/basic.py Outdated
# on the physical grid and can (and should) be zeroed for the purpose of determining
# if the halo is touched.
tkns_subs = {tkn: 0 for tkn in self[findex].free_symbols if isinstance(tkn, Thickness)}
findex_wo_thickness = self[findex].subs(tkns_subs) if tkns_subs else self[findex]

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

No need, subs({}) is no-op already

Comment thread tests/test_mpi.py Outdated

op = Operator(eqns)

print(op.ccode)

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

debug?

codecov Bot commented Aug 3, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 38.88889% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.54%. Comparing base (24444ce) to head (67ec63d).

Files with missing lines Patch % Lines
tests/test_mpi.py 15.38% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2988      +/-   ##
==========================================
- Coverage   83.54%   83.54%   -0.01%     
==========================================
  Files         257      257              
  Lines       53906    53922      +16     
  Branches     4613     4613              
==========================================
+ Hits        45037    45049      +12     
- Misses       8066     8075       +9     
+ Partials      803      798       -5     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.55% <100.00%> (+<0.01%) ⬆️
pytest-gpu-gcc- 78.17% <38.88%> (-0.02%) ⬇️
pytest-gpu-icx- 78.09% <38.88%> (-0.02%) ⬇️
pytest-gpu-nvc-nvidiaX 69.18% <100.00%> (+<0.01%) ⬆️

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.

mloubout merged commit e401545 into main Aug 5, 2026
62 of 63 checks passed
mloubout deleted the halotouch-redux branch August 5, 2026 14:04
This file contains hidden or 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
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.

3 participants


Back | FazBrowse Home | New Git URL