Skip to content

compiler: Introduce operator specialization#2812

Open
EdCaunt wants to merge 23 commits intomainfrom
operator-specialize
Open

compiler: Introduce operator specialization#2812
EdCaunt wants to merge 23 commits intomainfrom
operator-specialize

Conversation

@EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Dec 23, 2025

WIP - the intention is to allow users to build an operator as per usual, then generate single-use "specialised" versions of it with hardcoded values in the generated code to free up registers

@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

❌ Patch coverage is 93.04348% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.15%. Comparing base (e147aaa) to head (9956264).

Files with missing lines Patch % Lines
devito/ir/iet/visitors.py 75.00% 14 Missing ⚠️
devito/operator/operator.py 75.86% 5 Missing and 2 partials ⚠️
tests/test_specialization.py 99.10% 1 Missing and 1 partial ⚠️
devito/ir/support/guards.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2812      +/-   ##
==========================================
+ Coverage   79.05%   79.15%   +0.09%     
==========================================
  Files         248      249       +1     
  Lines       51276    51602     +326     
  Branches     4431     4450      +19     
==========================================
+ Hits        40534    40843     +309     
- Misses       9932     9949      +17     
  Partials      810      810              

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

@EdCaunt EdCaunt force-pushed the operator-specialize branch from 0b445af to 71259ef Compare January 9, 2026 16:19
@EdCaunt EdCaunt force-pushed the operator-specialize branch from ed5e7a5 to 29a255e Compare March 4, 2026 16:04
@EdCaunt EdCaunt force-pushed the operator-specialize branch from db4d50f to 9956264 Compare March 20, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant