Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Incorrect band matrix storage description

gololobov__sergey
675 Views

In MKL C Manual on page 399 (PDF) row major layout formula looks like "row major layout: k(i, j) = (i - j)*ldab + kl + j - 1; 1 ≤i≤m, max(1, i - kl) ≤j≤ min(n, i + ku)". Let's take row i=1, j=i+ku, kl=ku=k (equal # of bands), ldab=kl + ku + 1 as suggested earlier and get k(i,j)=-k*(k+k+1)+k+1+k-1=k-2*k*k, which is negative for all k>0. Please adjust to make it correct. Thank you! 

0 Kudos
5 Replies
Gennady_F_Intel
Moderator
675 Views

Thanks for the problem Sergey, we will check and address the case. 

0 Kudos
Gennady_F_Intel
Moderator
675 Views

Sergey, I have no pdf doc file available right now. Could you point us the function name you are talking about? We will check then this description from within html format.

0 Kudos
Gennady_F_Intel
Moderator
675 Views

sorry, I see what you mean. Thanks, the case will be escalated and we will update this thread when the fix of the problem will be available.

0 Kudos
Gennady_F_Intel
Moderator
675 Views

Sergey, the issue is fixed in MKL 2020 u1.

0 Kudos
gololobov__sergey
675 Views

Thank you very much, Gennady!

0 Kudos
Reply