Re: [Numpy-discussion] Calling scipy blas from cython is extremely slow

2013-02-24 Thread Pauli Virtanen
23.02.2013 20:31, Sergio Callegari kirjoitti: > Partially fixed. > > I was messing the row, column order. For some reason this was working in some > case. Now I've fixed it and it *always* works. > > However, it is still slower than the cblas > > cblas -> 0.69 sec > scipy blas -> 0.74 sec The

Re: [Numpy-discussion] Calling scipy blas from cython is extremely slow

2013-02-23 Thread Sergio Callegari
Partially fixed. I was messing the row, column order. For some reason this was working in some case. Now I've fixed it and it *always* works. However, it is still slower than the cblas cblas -> 0.69 sec scipy blas -> 0.74 sec Any clue why? ___ Num

Re: [Numpy-discussion] Calling scipy blas from cython is extremely slow

2013-02-23 Thread Sergio Callegari
... and it is not deterministic too... About 1 time over 6 the code calling the scipy blas gives a completely wrong result. How can this be? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discus

[Numpy-discussion] Calling scipy blas from cython is extremely slow

2013-02-23 Thread Sergio Callegari
Hi, following the excellent advice of V. Armando Sole, I have finally succeeded in calling the blas routines shipped with scipy from cython. I am doing this to avoid shipping an extra blas library for some project of mine that uses scipy but has some things coded in cython for extra speed. So fa