Skip to content

Conversation

@FabioLuporini
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.06%. Comparing base (6139faa) to head (75c80d8).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
devito/ir/iet/nodes.py 50.00% 1 Missing and 1 partial ⚠️
devito/ir/iet/visitors.py 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2762      +/-   ##
==========================================
+ Coverage   83.05%   83.06%   +0.01%     
==========================================
  Files         248      248              
  Lines       50438    50452      +14     
  Branches     4437     4439       +2     
==========================================
+ Hits        41890    41909      +19     
+ Misses       7789     7783       -6     
- Partials      759      760       +1     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.73% <9.09%> (-0.02%) ⬇️
pytest-gpu-nvc-nvidiaX 69.28% <9.09%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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.

One tiny nitpick on the test, otherwise looks good to me.

dim1 = CustomDimension(name='d1', symbolic_size=3)
x = Array(name='x', dimensions=(dim0, dim1), dtype=np.float32)

deref = Dereference(x, ptr, offset=off)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any case where you could have a static offset (i.e. off = 3)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I cannot see one today, but as long as it's a sympy.Number it'd create no problems

@FabioLuporini FabioLuporini merged commit c74a3c1 into main Oct 13, 2025
36 checks passed
@FabioLuporini FabioLuporini deleted the dereference-expr branch October 13, 2025 14:54
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.

4 participants