-
Notifications
You must be signed in to change notification settings - Fork 22
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
Rank-k and Rank-2k preconditions are wrong and other problems #274
Comments
Thanks for reporting! We'll take a look as soon as we can. |
I had an extra look to the proposal and found other problems. GEMV
RANKK
RANK2K
TRMM in-place
TRSM
TRSM in-place
|
Hi @rasolca ! Thanks for reporting this! We plan to report this as an LWG issue. If you would like credit for this in the public record, please contact me offline, using my e-mail address on the proposal. Thanks! [linalg.algs.blas2.gemv]I agree with your suggestion. [linalg.algs.blas3.rankk] and [linalg.algs.blas3.rank2k]I agree. [linalg.algs.blas3.inplacetrsm]Hold on, let me look at this (will update) [linalg.algs.blas3.trsm] 6I agree. (Note to self: This refers only to the left solve. The complexity of the right solve in (13) looks OK.) [linalg.algs.blas3.inplacetrsm] 13I agree. (Note to self: This refers only to the right solve. The complexity of the left solve in (6) looks OK.) |
Sorry, for the third case (the one you said you will have a look), I made a couple of copy-paste typos. |
@rasolca Thanks for the update! Here are my updated corrections: ORNL/cpp-proposals-pub#464 (comment) . |
@rasolca Thanks so much for your help! I've submitted an LWG issue for these: https://cplusplus.github.io/LWG/issue4137 . Please let me know if there are any further issues; thanks! : - ) Please see also https://isocpp.org/files/papers/P3371R0.html , "Fix C++26 by making the symmetric and Hermitian rank-k and rank-2k updates consistent with the BLAS," which will come out in the next mailing. |
Preconditions rank-k updates written in the proposal document are wrong as A must NOT be a square matrix:
https://eel.is/c++draft/linalg#algs.blas3.rankk-3.2
https://eel.is/c++draft/linalg#algs.blas3.rankk-4.1
Similarly, preconditions of rank-2k are wrong.
https://eel.is/c++draft/linalg#algs.blas3.rank2k-4.1 and https://eel.is/c++draft/linalg#algs.blas3.rank2k-4.1 should read
multipliable
instead ofaddable
,https://eel.is/c++draft/linalg#algs.blas3.rank2k-3.3 and https://eel.is/c++draft/linalg#algs.blas3.rank2k-4.2
C should be the square matrix, not A.
Which is the correct way to ask for fixing those?
The text was updated successfully, but these errors were encountered: