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

Added sparse benchmarks #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexandruChiri
Copy link

I have added a few sparse benchmarks to NPBench:

  • Banded Matrix-Matrix-Transposed multiplication (A * B * A^T). NumPy already had an implementation for banded matrix multiplication, but it required the data to be in dense format (2D numpy arrays).
  • Conjugate Gradient Method for CSR matrices.
  • BiConjugate Gradient Method for CSR matrices.
  • BiConjugate Stabilized Gradient Method for CSR matrices.
  • Minimum Residual Method for CSR matrices.
  • Generalized Minimum Residual Method for CSR matrices.
  • CSR Matrix-Matrix multiplication.

I have added a few sparse benchmarks to NPBench:
- Banded Matrix-Matrix-Transposed multiplication (A * B * A^T). NumPy already had an implementation for banded matrix multiplication, but it required the data to be in dense format (2D numpy arrays).
- Conjugate Gradient Method for CSR matrices.
- BiConjugate Gradient Method for CSR matrices.
- BiConjugate Stabilized Gradient Method for CSR matrices.
- Minimum Residual Method for CSR matrices.
- Generalized Minimum Residual Method for CSR matrices.
- CSR Matrix-Matrix multiplication.
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