-
Notifications
You must be signed in to change notification settings - Fork 146
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
[Sparse BLAS] remove deprecation warning when using oneMKL 2024.1 with sparse::trsv() on x86 CPU and Intel GPU backends #468
base: develop
Are you sure you want to change the base?
Conversation
…o newly added API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I am wondering for how long do we need to support previous MKL releases?
Previous releases are not tested AFAIK so I am not sure it is worth complexifying the code with macros.
To me, it makes sense to support the latest MKL minor release, but also the latest MKL Major release as well, but seeing as we always use the latest compiler, maybe it also just makes sense to support the latest MKL release and not distinguish between minor and major releases ? I also agree that having macros to complexify the code is not so good, luckily here it is a simple change, but it could be much worse ... If we agree to not worry about minor/major, I can quickly just drop the else part of this fix. |
I would avoid the macro in this case. They don't seem to be used in the project so far. |
Typically, we claim support for only |
Co-authored-by: Romain Biessy <romain.biessy@codeplay.com>
Description
oneMKL 2024.1 deprecated sparse::trsv() without an alpha scaling factor and introduced a new sparse::trsv() with alpha. We update trsv backend calls to use the new one from oneMKL 2024.1 with constant fixed alpha == 1 to avoid the deprecation warnings.
Checklist
All Submissions
Bug fixes
GitHub issue or in this PR)? (N/A)