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

Add generic matmatmul for inplace sparse x sparse #486

Merged
merged 6 commits into from
Feb 16, 2024
Merged

Conversation

dkarrasch
Copy link
Member

Fixes JuliaLang/julia#52429.

I have no idea which branches are really used and whether this can be further reduced, especially in favor of compile time, which was a big issue over at LinearAlgebra.jl. Currently, this is just a copy-paste from the old LinAlg code.

@dmbates @palday

@dkarrasch dkarrasch closed this Jan 10, 2024
@dkarrasch dkarrasch reopened this Jan 10, 2024
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

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

Comparison is base (1aa6431) 85.00% compared to head (ccc1319) 84.58%.

Files Patch % Lines
src/linalg.jl 60.86% 63 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #486      +/-   ##
==========================================
- Coverage   85.00%   84.58%   -0.42%     
==========================================
  Files          12       12              
  Lines        8967     9120     +153     
==========================================
+ Hits         7622     7714      +92     
- Misses       1345     1406      +61     

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

@ViralBShah
Copy link
Member

We should merge if ready - the windows issue is separate.

@palday
Copy link
Contributor

palday commented Jan 16, 2024

can you point to commit + lines of the old LinearAlgebra code this is copied from?

@dkarrasch
Copy link
Member Author

It's the one you found here: JuliaLang/julia#52429 (comment), i.e., JuliaLang/julia@0cf2bf1. It's in matmul.jl, lines 786ff.

@dkarrasch
Copy link
Member Author

Shall we merge this? I believe there is room for further improvement by providing specialized copyto! and copy_transpose methods, but I don't have the time to do that now.

@ViralBShah
Copy link
Member

Agree - we should merge as is for now.

@dkarrasch dkarrasch merged commit cb602d7 into main Feb 16, 2024
4 of 8 checks passed
@dkarrasch dkarrasch deleted the dk/spspmatmatmul branch February 16, 2024 12:12
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.

mul! performance regression for sparse matrices in v1.11.0-DEV.1035
3 participants