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: Improve CIRE's cost model #2476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

Attention: Patch coverage is 44.44444% with 35 lines in your changes missing coverage. Please review.

Project coverage is 77.93%. Comparing base (f95007d) to head (31344be).

Files with missing lines Patch % Lines
tests/test_dse.py 7.89% 35 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (f95007d) and HEAD (31344be). Click for more details.

HEAD has 14 uploads less than BASE
Flag BASE (f95007d) HEAD (31344be)
16 2
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2476      +/-   ##
==========================================
- Coverage   87.19%   77.93%   -9.27%     
==========================================
  Files         238      238              
  Lines       45201    45257      +56     
  Branches     4012     4019       +7     
==========================================
- Hits        39415    35273    -4142     
- Misses       5104     9231    +4127     
- Partials      682      753      +71     

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

nfunctions1 = len({i.function for i in indexeds1})
ntemps = 0
for sa in i.schedule:
if len(sa.writeto) < grid.dim:
Copy link
Contributor

Choose a reason for hiding this comment

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

sa.writeto.itdims? that comparison seems odd

@@ -2153,7 +2217,7 @@ def test_multiple_rotating_dims(self):
# to jit-compile `op1`. However, we also check numerical correctness
op1.apply(time_m=0, time_M=nt-2, dt=dt, u=u1, vx=vx1, vy=vy1)

assert np.allclose(u.data, u1.data, rtol=1e-5)
assert np.allclose(u.data, u1.data, rtol=1e-3)
Copy link
Contributor

Choose a reason for hiding this comment

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

What this much change?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would expect to see some change in counted flops in other tests?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this indeed affecting only the new variant you added?

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