-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Lang] Support sparse matrix on GPU #5185
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for my late response. Could you first fix the conflicts due to recent refactoring on backends? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much! So sorry for my late response. I have been swamped in the last few months.
Most changes LGTM! My suggestion is add some test cases against building spm and the computation of spmv.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you very much! You can merge this pr after resolving my following comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! You can merge this PR after solving the comments.
Co-authored-by: Yi Xu <[email protected]>
Related issue = #2906
Related PR = #4904
The sparse matrix on GPU is based on the
cuSparse
library.In this pr, the user can only build the sparse matrix with CSR format. And the input of the sparse matrix builder is
ti.ndarray
.To check the useability, Spmv operation is implemented. More arithmetic operations like (
+
,-
,*
) need to be added in the future.