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

compiler: Remove counters from subdomains and automatically generate unique names #2431

Open
wants to merge 39 commits into
base: master
Choose a base branch
from

Conversation

EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Jul 30, 2024

Rather than using counters to ensure subdimensions etc are unique, they should be dynamically renamed during compilation.

Supersedes #2405 .

Copy link

codecov bot commented Jul 30, 2024

Codecov Report

Attention: Patch coverage is 98.19277% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.07%. Comparing base (fb4b50e) to head (1297db1).

Files with missing lines Patch % Lines
devito/ir/equations/algorithms.py 95.58% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2431      +/-   ##
==========================================
+ Coverage   87.01%   87.07%   +0.06%     
==========================================
  Files         239      239              
  Lines       44958    45048      +90     
  Branches     8390     8412      +22     
==========================================
+ Hits        39118    39224     +106     
+ Misses       5108     5093      -15     
+ Partials      732      731       -1     

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

devito/ir/equations/algorithms.py Show resolved Hide resolved
devito/ir/equations/algorithms.py Show resolved Hide resolved
devito/types/grid.py Show resolved Hide resolved
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Contributor

@FabioLuporini FabioLuporini left a comment

Choose a reason for hiding this comment

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

This is looking so good

devito/ir/equations/algorithms.py Outdated Show resolved Hide resolved
devito/ir/equations/algorithms.py Show resolved Hide resolved
devito/ir/equations/algorithms.py Outdated Show resolved Hide resolved
devito/ir/equations/algorithms.py Outdated Show resolved Hide resolved
devito/ir/equations/algorithms.py Outdated Show resolved Hide resolved
devito/ir/iet/utils.py Outdated Show resolved Hide resolved
devito/passes/iet/definitions.py Outdated Show resolved Hide resolved
devito/types/basic.py Outdated Show resolved Hide resolved
devito/types/basic.py Outdated Show resolved Hide resolved
devito/types/basic.py Outdated Show resolved Hide resolved
devito/ir/equations/algorithms.py Outdated Show resolved Hide resolved
devito/ir/equations/algorithms.py Outdated Show resolved Hide resolved
tests/test_dimension.py Outdated Show resolved Hide resolved
tests/test_subdomains.py Outdated Show resolved Hide resolved
devito/ir/equations/algorithms.py Show resolved Hide resolved
devito/types/basic.py Outdated Show resolved Hide resolved
devito/types/basic.py Outdated Show resolved Hide resolved
devito/types/basic.py Outdated Show resolved Hide resolved
@EdCaunt EdCaunt force-pushed the counters_redux branch 2 times, most recently from 4f18c77 to de56705 Compare September 16, 2024 10:53
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.

5 participants