Skip to content

compiler: Minimize code size reusing efuncs as much as possible - #2979

Merged
FabioLuporini merged 5 commits into
mainfrom
tweak-fuse-groups
Jul 27, 2026
Merged

compiler: Minimize code size reusing efuncs as much as possible#2979
FabioLuporini merged 5 commits into
mainfrom
tweak-fuse-groups

Conversation

@FabioLuporini

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.09091% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.58%. Comparing base (35f711f) to head (204eec4).

Files with missing lines Patch % Lines
devito/passes/iet/orchestration.py 40.00% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2979      +/-   ##
==========================================
+ Coverage   83.57%   83.58%   +0.01%     
==========================================
  Files         257      257              
  Lines       53783    53823      +40     
  Branches     4608     4609       +1     
==========================================
+ Hits        44951    44990      +39     
- Misses       8035     8036       +1     
  Partials      797      797              
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.53% <68.18%> (+<0.01%) ⬆️
pytest-gpu-gcc- 78.21% <85.45%> (+<0.01%) ⬆️
pytest-gpu-icx- 78.14% <85.45%> (-0.02%) ⬇️
pytest-gpu-nvc-nvidiaX 69.18% <68.18%> (-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.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@mloubout mloubout left a comment

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.

looks sane

Comment thread devito/ir/iet/visitors.py
CommCallable: 1
}
return sorted_priority(efuncs, priority)
return sorted(efuncs, key=lambda i: natural_sort_key(i.name))

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 i.name the natural_sort_key already calls .name

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

r0, r1, r10, r11, ..., r2, r3, ..
instead we now do
r0, r1, r2, r3, ..., r10, r11, ...

@FabioLuporini
FabioLuporini merged commit c9b9cfa into main Jul 27, 2026
61 of 63 checks passed
@FabioLuporini
FabioLuporini deleted the tweak-fuse-groups branch July 27, 2026 16:07
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.

2 participants