Skip to content

Conversation

FabioLuporini
Copy link
Contributor

Flagged as bug-C-minor because it only pops up in a fairly contrived situation and not flagged by any users...

But still a bug

@FabioLuporini FabioLuporini added the bug-C-minor bug in the generated code not affecting correctness label Aug 1, 2025

yield hs, c1

def _make_halo_touch(self, hs, c, prefix):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the bulk here is the same as before, just moved into its own function

def process(self, clusters):
return self._process_fatd(clusters, 1, seen=set())

def _derive_halo_schemes(self, c):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is new

@FabioLuporini FabioLuporini force-pushed the fix-mpi-t0-t1-conddim branch from 64ccb93 to 9991b3a Compare August 1, 2025 15:28
Copy link

codecov bot commented Aug 1, 2025

Codecov Report

❌ Patch coverage is 66.12903% with 21 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@cfc5a08). Learn more about missing BASE report.

Files with missing lines Patch % Lines
tests/test_mpi.py 16.66% 10 Missing ⚠️
devito/ir/clusters/algorithms.py 79.54% 8 Missing and 1 partial ⚠️
devito/passes/iet/mpi.py 0.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2696   +/-   ##
=======================================
  Coverage        ?   78.30%           
=======================================
  Files           ?      248           
  Lines           ?    49678           
  Branches        ?     4376           
=======================================
  Hits            ?    38902           
  Misses          ?     9958           
  Partials        ?      818           

☔ View full report in Codecov by Sentry.
📢 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.

@FabioLuporini FabioLuporini force-pushed the fix-mpi-t0-t1-conddim branch 2 times, most recently from 511421c to aec9027 Compare August 4, 2025 08:36
Copy link
Contributor

@EdCaunt EdCaunt left a comment

Choose a reason for hiding this comment

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

Looks good now

@FabioLuporini FabioLuporini force-pushed the fix-mpi-t0-t1-conddim branch from aec9027 to 5afbbbc Compare August 5, 2025 12:46
@FabioLuporini FabioLuporini force-pushed the fix-mpi-t0-t1-conddim branch from 5afbbbc to 4649f05 Compare August 11, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-C-minor bug in the generated code not affecting correctness
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants