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

Refactor CUSPARSE #409

Merged
merged 16 commits into from
Sep 4, 2020
Merged

Refactor CUSPARSE #409

merged 16 commits into from
Sep 4, 2020

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Sep 3, 2020

Fixes most of #322. Not perfect yet, but it should get us back to where we were.

Closes #98, #113, #146, #216

@maleadt maleadt added bugfix This gets something working again. cuda array Stuff about CuArray. enhancement New feature or request labels Sep 3, 2020
- wrap cusparseSpMM
- make the cusparseSpMV wrapper support CSC
- switch to 5-arg mul
@codecov
Copy link

codecov bot commented Sep 4, 2020

Codecov Report

Merging #409 into master will decrease coverage by 0.12%.
The diff coverage is 82.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   78.90%   78.77%   -0.13%     
==========================================
  Files         166      166              
  Lines        8756     8783      +27     
==========================================
+ Hits         6909     6919      +10     
- Misses       1847     1864      +17     
Impacted Files Coverage Δ
lib/cusparse/CUSPARSE.jl 88.23% <ø> (ø)
lib/cusparse/level3.jl 77.31% <ø> (+12.22%) ⬆️
lib/cusparse/interfaces.jl 33.33% <36.84%> (+10.25%) ⬆️
lib/cusparse/array.jl 64.55% <65.00%> (-6.78%) ⬇️
lib/cusparse/conversions.jl 77.77% <85.71%> (-17.35%) ⬇️
test/cusparse.jl 92.70% <90.75%> (-0.47%) ⬇️
lib/cusparse/generic.jl 95.40% <94.93%> (-4.60%) ⬇️
lib/cusparse/level1.jl 100.00% <100.00%> (ø)
lib/cusparse/level2.jl 84.52% <100.00%> (ø)
lib/cusparse/preconditioners.jl 84.31% <100.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f88c458...5d53166. Read the comment docs.

@maleadt maleadt changed the title Rework CUSPARSE matrix-matrix and matrix-vector multiplication Refactor CUSPARSE Sep 4, 2020
@maleadt maleadt merged commit e9beb5e into master Sep 4, 2020
@maleadt maleadt deleted the tb/sparse_mm_mv branch September 4, 2020 14:59
@maleadt
Copy link
Member Author

maleadt commented Sep 4, 2020

This turned out pretty breaking, removing some idiosyncrasies and replacing them with more standard interfaces (e.g. replace all the switch2xxx functions with constructors), but I think it's for the better. Will make sure next release is a breaking one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This gets something working again. cuda array Stuff about CuArray. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5-arg mul! for CUSPARSE
1 participant