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

[lang] Unify Cuda and CPU Spmv API #6575

Merged
merged 2 commits into from
Nov 14, 2022

Conversation

FantasyVR
Copy link
Collaborator

@FantasyVR FantasyVR commented Nov 10, 2022

Issue: #2906

Brief Summary

The previous API of spmv is A.spmv(x, y) which means y=A@x.
Now the spmv function is removed. We can directly use y = A @ x to compute the results on Cuda backend.

@netlify
Copy link

netlify bot commented Nov 10, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 8bdb24b
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/636d234d6e707b00086bb8a7
😎 Deploy Preview https://deploy-preview-6575--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@Hanke98 Hanke98 left a comment

Choose a reason for hiding this comment

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

Great! LGTM!

@FantasyVR FantasyVR merged commit 039d95f into taichi-dev:master Nov 14, 2022
@FantasyVR FantasyVR deleted the ndarray_as_return_value branch December 22, 2022 04:04
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Issue: taichi-dev#2906

### Brief Summary
The previous API of spmv is `A.spmv(x, y)` which means `y=A@x`. 
Now the spmv function is removed. We can directly use `y = A @ x` to
compute the results on Cuda backend.
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.

3 participants