Hi
I am having trouble using CBLAS may be because of the leading dimension issue.
when i have matrix size e.g. a(3x2) , b(2x3) ; a( 2x3) , b(3x2) ; a(2x2) , b(2x2)...i dont have problem but if i have something like
a(3x2) , b(2x2) ; a(2x3) ; b(3x3) I am getting incorrect results.
This is how I set the leading dimensions:
lda = max(1,a.nrow); ldb = max(1,b.nrow) ; ldc = max(1,c.nrow);
cblas_sgemm( CblasColMajor, CblasNoTrans, CblasNoTrans, a.nrow , b.ncol , a.ncol , ALPHA, pa, lda,pb, ldb, BETA, pc, ldc );
Please let me know if I am missing something
thanks
Kiran

