Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable use of MKL for sparse matrices #934

Open
jalvesz opened this issue Feb 8, 2025 · 2 comments
Open

Enable use of MKL for sparse matrices #934

jalvesz opened this issue Feb 8, 2025 · 2 comments
Labels
idea Proposition of an idea and opening an issue to discuss it

Comments

@jalvesz
Copy link
Contributor

jalvesz commented Feb 8, 2025

Motivation

Using optimized BLAS/LAPACK libaries through stdlib for dense linear algebra is now very easy. Sparse matrices do not count with such a level of API standardization. stdlib counts now with a minimal support for sparse matrices but it would be useful to extended in several ways one of such would be to enable using MKL as an optimized backend.

A first step would be to enable switching between the internal spmv and mkl spmv kernels. This would require additional specifications at the level of the preprocessor macros because the sparse matrix API of MKL has a specific signature and the current STDLIB_EXTERNAL_BLAS/LAPACK macros will not be enough.

Prior Art

No response

Additional Information

No response

@jalvesz jalvesz added the idea Proposition of an idea and opening an issue to discuss it label Feb 8, 2025
@demoncoder-crypto
Copy link

I would love to work on this issue. is this open?

@jalvesz
Copy link
Contributor Author

jalvesz commented Mar 14, 2025

Yes it is! Please go ahead and take a look 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
idea Proposition of an idea and opening an issue to discuss it
Projects
None yet
Development

No branches or pull requests

2 participants