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: Misc codegen enhancements #2300

Merged
merged 8 commits into from
Jan 31, 2024
Merged

compiler: Misc codegen enhancements #2300

merged 8 commits into from
Jan 31, 2024

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

Copy link
Contributor

@mloubout mloubout left a comment

Choose a reason for hiding this comment

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

Looks fine,nothing major just one comment

# Perform some basic simplifications at least
args = [i for i in args if i != 1]
if any(i == 0 for i in args):
return S.Zero
Copy link
Contributor

Choose a reason for hiding this comment

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

Can probably do S.One and S.negativeOne as well that have a bunch of special handling in sympy

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (8bb140d) 86.70% compared to head (446c97d) 86.69%.
Report is 2 commits behind head on master.

Files Patch % Lines
devito/ir/iet/visitors.py 66.66% 3 Missing and 1 partial ⚠️
devito/symbolics/manipulation.py 50.00% 1 Missing and 1 partial ⚠️
devito/ir/iet/nodes.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2300      +/-   ##
==========================================
- Coverage   86.70%   86.69%   -0.01%     
==========================================
  Files         229      229              
  Lines       42895    42928      +33     
  Branches     7952     7958       +6     
==========================================
+ Hits        37190    37216      +26     
- Misses       5022     5027       +5     
- Partials      683      685       +2     

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

@FabioLuporini FabioLuporini merged commit 0ccf5fd into master Jan 31, 2024
31 checks passed
@FabioLuporini FabioLuporini deleted the sycl-moar branch January 31, 2024 14:21
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.

3 participants