Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpi: Fix haloupdate with inner dim [v2] #2272

Merged
merged 5 commits into from
Nov 21, 2023
Merged

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

@FabioLuporini FabioLuporini added the bug-C bug in the generated code label Nov 21, 2023
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7a86b36) 86.80% compared to head (d6d8a6e) 86.82%.

Files Patch % Lines
devito/mpi/halo_scheme.py 75.00% 2 Missing ⚠️
devito/ir/clusters/algorithms.py 94.73% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2272      +/-   ##
==========================================
+ Coverage   86.80%   86.82%   +0.02%     
==========================================
  Files         229      229              
  Lines       42296    42383      +87     
  Branches     7830     7845      +15     
==========================================
+ Hits        36713    36797      +84     
- Misses       4923     4926       +3     
  Partials      660      660              

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

@mloubout mloubout added the MPI mpi-related label Nov 21, 2023
def process(self, clusters):
return self._process_fatd(clusters, 1, seen=set())

def callback(self, clusters, prefix, seen=None):
if seen.issuperset(clusters):
if not prefix:
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be both not prefix or seen.issuperset(clusters) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no the seen check is performed a few lines below on a per-cluster basis

@mloubout mloubout merged commit 25fa68b into master Nov 21, 2023
31 checks passed
@mloubout mloubout deleted the halo-inner-dim-fabio branch November 21, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-C bug in the generated code MPI mpi-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants