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] Build csr sparse matrix on GPU using coo format ndarray #5838

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

FantasyVR
Copy link
Collaborator

@FantasyVR FantasyVR commented Aug 22, 2022

Related issue = #2906

It's more convenient for the users to generate COO format sparse matrix. But it's more efficient for the computer to use CSR format sparse matrix. In this pr, we provide a API to construct a CSR format sparse matrix using COO format input ndarrays.

@netlify
Copy link

netlify bot commented Aug 22, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit a037531
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/6304a575ed462a0009c93943
😎 Deploy Preview https://deploy-preview-5838--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.

@FantasyVR FantasyVR marked this pull request as ready for review August 22, 2022 06:41
Copy link
Contributor

@strongoier strongoier left a comment

Choose a reason for hiding this comment

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

LGTM!

python/taichi/linalg/sparse_matrix.py Outdated Show resolved Hide resolved
python/taichi/linalg/sparse_matrix.py Outdated Show resolved Hide resolved
@FantasyVR FantasyVR merged commit 4cfae7b into taichi-dev:master Aug 24, 2022
@FantasyVR FantasyVR deleted the sm_coo2csr branch November 23, 2022 15:27
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.

2 participants