-
Notifications
You must be signed in to change notification settings - Fork 441
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
Y is misscaled in ?GEMV for some cases #788
Comments
Hi, there are also affected the subroutines xGBMV, xSBMV, xSPMV, and xSYMV |
Hi @jgpallero and @bE554357, @akobotov also gave a thumbs up, I think it is best to keep the BLAS behavior as it is. I consulted with a few other folks by email and (at least) three other persons agree that it is best to keep the BLAS behavior as it is. Arguments being: "It's essentially impossible to change those documented semantics of BLAS gemv, since any change would have to be agreed to and propagated through all the vendor libraries" and this is a "classical and well-documented behavior". For now, I am closing the comment and the PR. I do see that there is a disagreement on what to do since there were three initial thumbs up on the initial PR. All in all, it is great that you are willing to change the library and propose a PR for it. But I think, for this change, it is best to leave the code as is. cheers, |
Thank you for your answer. Maybe the "wrong" part in this case is not the behavior of the subroutines, but the documentation. In all of them the docs say referred to the matrix dimensions "must be at least zero", also the doc for MKL and ESSL BLAS. The question is then how behave MKL and ESSL in this situation, but I suppose in the same way as the reference BLAS. I've inspected the code in MAGMA and it works in the same way, i.e., [OFFTOPIC] |
My understanding was that ATLAS is not active any longer and is now moved to OpenBLAS. But I am not 100% sure. I am surprised that there was a commit in 2019 for ATLAS. I was assuming that the project was long not maintained any more. So I think you want to look at OpenBLAS. |
Yes. I want to point to: https://github.com/tlapack/testBLAS. In this software, @weslleyspereira is trying to check BLAS libraries. These corner cases are in. Yes, most current libraries are following the convention as set by the reference BLAS. |
Note that
instead of
|
Testing several BLAS libraries, I found
whereas with MKL:
|
Ah. Thanks. Yes, the documentation could be fixed. Good point. |
I'd read that as "must be at least zero to avoid raising an error " ? |
Maybe a note with something like "if M or N are 0, the function does nothing" |
I'm sure this was the original idea |
I agree with @martin-frbg. I think the comments are fine then. Yes, we can add |
Now it's hard to localize error in |
Description
Description and possible solution is presented in #787
The text was updated successfully, but these errors were encountered: