|
From: | Michael Goffioul |
Subject: | Re: Octave 3.6.4 VS2010 and the C++ API |
Date: | Wed, 25 Sep 2013 08:37:23 -0400 |
Hi Michael,I think I've found the source of the complex matrix multiplication problem I'm having. The xgemm function in CMatrix.h tests a couple cases before executing a LAPACK function to do the multiplication. For most cases, ZGEMM is called and this works correctly in all builds. However, if a 1xn matrix A is multiplied by a nx1 matrix B, as in c = A*B, XZDOTU is called instead and in the VS2010 build the result is not always (ever?) correct. The octfile below should reproduce the problem.It seems that this is a problem with the BLAS/LAPACK/ATLAS package being used in the VS2010 build. Does this sound correct? (I've never understood the difference between these three things, so maybe now is a good time to learn.) There are some posts from 2007/08 that touch on this issue with XZDOTU. Any information you might have about the packages used in the build (or how to find that information) would be greatly appreciated.
[Prev in Thread] | Current Thread | [Next in Thread] |