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

fix sparse CSC gemm and test (closes #181) #185

Merged
merged 1 commit into from
May 30, 2020
Merged

fix sparse CSC gemm and test (closes #181) #185

merged 1 commit into from
May 30, 2020

Conversation

jebej
Copy link
Contributor

@jebej jebej commented May 29, 2020

It seems like everything was there except that instead of returning a CSC matrix, because we do the gemm with the CSR routines a CSR matrix is returned. I think that's OK though we could also convert back to CSC if we wanted.

Either way, it seems like these routines are deprecated, and that we should switch to using csrgemm2

I added a test for both CSR & CSC methods to test the transposed operation.

I also fixed a typo with the indexC argument.

@jebej
Copy link
Contributor Author

jebej commented May 29, 2020

closes #181

@jebej
Copy link
Contributor Author

jebej commented May 29, 2020

I also simplified the tests; a lot of arrays were being collected for no apparent (to me) reason.

@maleadt maleadt linked an issue May 29, 2020 that may be closed by this pull request
@maleadt maleadt added bugfix This gets something working again. cuda array Stuff about CuArray. labels May 29, 2020
@maleadt
Copy link
Member

maleadt commented May 29, 2020

Thanks! I think @kshyatt wrote most of these tests, maybe she can elaborate.
bors try

bors bot added a commit that referenced this pull request May 29, 2020
@bors
Copy link
Contributor

bors bot commented May 29, 2020

try

Build succeeded:

@maleadt maleadt merged commit 4246a3e into JuliaGPU:master May 30, 2020
@jebej jebej deleted the sparse-csc-gemm branch May 30, 2020 14:12
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sparse CSC gemm wrappers actually call CSR routines
2 participants