Skip to content

compiler: Fix topofusion to honour the closest scope#2970

Merged
mloubout merged 2 commits into
mainfrom
hotfix-topofuse-final
Jul 13, 2026
Merged

compiler: Fix topofusion to honour the closest scope#2970
mloubout merged 2 commits into
mainfrom
hotfix-topofuse-final

Conversation

@FabioLuporini

Copy link
Copy Markdown
Contributor

test in PRO

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.55%. Comparing base (0cdfbf5) to head (7d91ac8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2970      +/-   ##
==========================================
- Coverage   83.55%   83.55%   -0.01%     
==========================================
  Files         257      257              
  Lines       53538    53558      +20     
  Branches     4584     4585       +1     
==========================================
+ Hits        44735    44751      +16     
- Misses       8010     8013       +3     
- Partials      793      794       +1     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.40% <100.00%> (+0.01%) ⬆️
pytest-gpu-gcc- 78.40% <86.15%> (+<0.01%) ⬆️
pytest-gpu-icx- 78.33% <86.15%> (+<0.01%) ⬆️
pytest-gpu-nvc-nvidiaX 69.05% <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.

@FabioLuporini
FabioLuporini force-pushed the hotfix-topofuse-final branch from 7eac827 to 78a5d1f Compare July 13, 2026 12:30
@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



class Key(tuple):
class Keys(CacheInstances):

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.

this is mostly just a refactoring, essentially to be able to access the last and first properties in the choose_element function later on

return self.c.guards if any(self.c.guards) else None

@cached_property
def syncs(self):

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.

nothing new...

return (self.itintervals, self.guards, self.syncs)

@cached_property
def weak(self):

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.

nothing new...

@FabioLuporini
FabioLuporini force-pushed the hotfix-topofuse-final branch from e3e332f to 7d91ac8 Compare July 13, 2026 15:46
@mloubout mloubout added the no-pro-trigger Skip the devitopro submodule update on merge label Jul 13, 2026
@mloubout
mloubout merged commit 80f1e1d into main Jul 13, 2026
42 checks passed
@mloubout
mloubout deleted the hotfix-topofuse-final branch July 13, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-py no-pro-trigger Skip the devitopro submodule update on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants