#209 Error message may be incorrect in dgemm

Both
closed-fixed
5
2014-06-27
2012-08-31
John Woods
No

in interfaces/blas/C/src/cblas_dgemm.c, lines 125-126, I notice that the check is for ((ldb < N) || (ldb < 1)), but the error message says, "ldb must be >= MAX(K,1)".

I believe that line should instead be:
info = cblas_errprn(11,info, "ldb must be >= MAX(N,1): ldb=%d N=%d", ldb, N);

I first noticed this in 3.8.

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2012-10-10
    • assigned_to: nobody --> rwhaley
    • milestone: 148062 -->
    • labels: 360155 --> 360137
     
  • R. Clint Whaley

    R. Clint Whaley - 2012-10-10
    • milestone: --> Both
    • labels: 360137 --> Interface (example)
    • status: open --> open-accepted
     
  • R. Clint Whaley

    R. Clint Whaley - 2012-10-10

    John,

    I confirm your bug report, and agree with your proposed fix. I clearly just copied the error message from above w/o changing it. I have made the change in the basefiles, should be fixed for next release (not going to errata it since it is only the print of an error condition that is wrong, and what you say for error messages is not part of standard).

    Many thanks!
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-06-27

    fixed in 3.10.1

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-06-27
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks