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

splatted 1D tuple dims when creating vector #7

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

birkmichael
Copy link
Owner

gpu sparsevecs need scalar dims while cpu sparsevecs need 1d-tuples. This was missing and broke when trying to create a sparse CuVec with similar(CuSparseMatrix,n). Fixed by splatting the 1d dimension tuple in similar.

@birkmichael birkmichael merged commit 2d5b613 into CuSparse_Similar Oct 6, 2021
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.

1 participant