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!
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.