[SPARSE] Add support for cuSPARSE backend#527
[SPARSE] Add support for cuSPARSE backend#527Rbiessy merged 44 commits intouxlfoundation:developfrom Rbiessy:romain/cusparse
Conversation
|
I have pushed the changes to merge with the develop branch, apply relevant feedback from the previous sparse PR and worked on adding support for the |
examples/sparse_blas/compile_time_dispatching/sparse_blas_spmv_usm_mklcpu_cusparse.cpp
Outdated
Show resolved
Hide resolved
gajanan-choudhary
left a comment
There was a problem hiding this comment.
I've reviewed 42/51 files. Looks good so far.
gajanan-choudhary
left a comment
There was a problem hiding this comment.
Don't we need to update this table the top-level README file to add in a row for NVIDIA GPU as part of this PR? https://github.com/oneapi-src/oneMKL/blob/4a9961d8cf2feee533979cd8f58fe53906cf03cc/README.md?plain=1#L319-L331
|
FYI we're holding on this PR for a little bit. We have found some tests failing when running on A100, in particular if the machine is busy or multiple tests are run in parallel. There seem to be race conditions which we don't understand yet. |
|
Do we need to test with more modern version of CUDA libs, for instance, oneMath Interfaces project currently tests with 11.8 and 12.0 SDKs, but do we need latest SDK (12.6) to also be tested? Are there features of 12.6 that we exploit that are different from say 12.0 ? |
The oneAPI Core Team at Codeplay is testing oneMKL Interface with our CUDA plugins and CUDA 12.4. I am personally using 12.5 for the test logs attached here. Note that currently the minimum CUDA version set to use the cuSPARSE backend is CUDA 12.2, see the related discussion here: https://github.com/oneapi-src/oneMKL/pull/527/files#r1750927886. The internal CI would need to be bumped to that version at least to test cuSPARSE! |
|
@oneapi-src/onemkl-sparse-write I have updated the PR with fixes needed and conflicts fixed. To summarize:
New test logs: @gajanan-choudhary let me know if you have any concerns with these changes. |
gajanan-choudhary
left a comment
There was a problem hiding this comment.
Latest changes look fine to me. Feel free to merge in. Thanks for the great work, I'm sure this PR took monumental effort and patience on your end!
|
Thanks all for the reviews! |
Description
Add support for the cuSPARSE backend.
Fixes #25
Depends on #500. All of the changes specific to cuSPARSE are in the last commit.
Rendered documentation: docs.zip
Checklist
All Submissions
Do all unit tests pass locally?
Have you formatted the code using clang-format?