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

Generalize CSC assembler #916

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

termi-official
Copy link
Member

@termi-official termi-official commented May 16, 2024

These changes should be sufficient to allow assembly into CSC matrix types other than SparseMatrixCSC and the Symmtric counterpart.

Also a step towards shaping the interface for #628 , since resize is not allowed on the GPU.

TODOs

  • Fix CI
  • Interface considerations

Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 95.55556% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 93.66%. Comparing base (cf97ee5) to head (876e65c).
Report is 4 commits behind head on master.

Files Patch % Lines
src/assembler.jl 95.55% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #916      +/-   ##
==========================================
- Coverage   93.69%   93.66%   -0.03%     
==========================================
  Files          36       36              
  Lines        5438     5450      +12     
==========================================
+ Hits         5095     5105      +10     
- Misses        343      345       +2     

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

@termi-official termi-official added needs changelog awaiting review PR is finished from the authors POV, waiting for feedback labels May 16, 2024
src/assembler.jl Outdated Show resolved Hide resolved
@KnutAM KnutAM added this to the v1.0.0 milestone May 19, 2024
@termi-official termi-official marked this pull request as draft May 22, 2024 09:13
@termi-official termi-official removed the awaiting review PR is finished from the authors POV, waiting for feedback label May 22, 2024
@termi-official termi-official marked this pull request as ready for review May 30, 2024 16:31
@termi-official termi-official added the awaiting review PR is finished from the authors POV, waiting for feedback label May 30, 2024
Copy link
Member

@KnutAM KnutAM left a comment

Choose a reason for hiding this comment

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

I think this is shaping up nicely. Some suggestions / discussion points which would be good to decide on before releasing 1.0.

The add to docs/devdocs comments can of course wait until the other details are finalized, just added it as reminders.

src/assembler.jl Show resolved Hide resolved
src/assembler.jl Outdated Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
src/assembler.jl Outdated Show resolved Hide resolved
src/assembler.jl Outdated Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
termi-official and others added 4 commits May 31, 2024 15:16
Co-authored-by: Knut Andreas Meyer <knutam@gmail.com>
…M/Ferrite.jl into do/more-generic-csc-assembler
@termi-official
Copy link
Member Author

Thanks for the review Knut!

I would like to suggest that the removal of the symmetric API should go into a separate PR.

Copy link
Member

@KnutAM KnutAM left a comment

Choose a reason for hiding this comment

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

LGTM.
I like the name-changes, but perhaps there should be a @deprecate_binding or something @fredrikekre ?
I just think we are at a point now that we need to reduce annoyance to users where possible during the upgrade.

src/assembler.jl Show resolved Hide resolved
src/assembler.jl Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review PR is finished from the authors POV, waiting for feedback needs changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants