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

Zero out vectors with uplocks and downlocks #2176

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

fwesselm
Copy link
Collaborator

Vectors uplocks and downlocks are not initialized with zeros before iterating over the matrix elements and computing the locks. Therefore, the number of locks may be incorrect after a restart, for example.

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.81%. Comparing base (60df046) to head (7f90d45).
Report is 5 commits behind head on latest.

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #2176      +/-   ##
==========================================
+ Coverage   78.75%   78.81%   +0.05%     
==========================================
  Files         345      345              
  Lines       83165    83165              
==========================================
+ Hits        65498    65544      +46     
+ Misses      17667    17621      -46     

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

@fwesselm
Copy link
Collaborator Author

Testing is ongoing. I will report back once I have the results.

@jajhall jajhall merged commit 5750d3b into ERGO-Code:latest Feb 12, 2025
119 checks passed
@jajhall
Copy link
Member

jajhall commented Feb 12, 2025

Sorry @fwesselm, I thought this was #2177

@fwesselm
Copy link
Collaborator Author

Sorry @fwesselm, I thought this was #2177

@jajhall, since the locks were incorrect previously the fix should affect behavior. I will let you know when I have the test results.

@fwesselm
Copy link
Collaborator Author

Sorry @fwesselm, I thought this was #2177

@jajhall, since the locks were incorrect previously the fix should affect behavior. I will let you know when I have the test results.

The results look reasonable, average speedup is 2 percent.

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.

2 participants