[SciPy-User] scipy.linalg.blas before 0.12.0
Pauli Virtanen
pav at iki.fi
Mon Mar 24 16:40:52 EDT 2014
24.03.2014 21:23, Skipper Seabold kirjoitti:
[clip]
> [3] https://github.com/ChadFulton/pykalman_filter/blob/master/kalman/kalman_filter.pyx#L28
cdef sdot_t *sdot =
<sdot_t*>PyCObject_AsVoidPtr(scipy.linalg.blas.sdot._cpointer)
Note that _cpointer gives you the raw function pointer of the BLAS routine.
If you're on OSX, this is bad news, because the signature of SDOT for
Apple's Accelerate is in G77 ABI and it's unfortunately *not*
float sdot_(int *, float *, int *, float *, int *)
on other platforms, the above is the correct signature.
You can check from scipy/_build_utils/src which routines are expected to
be problematic.
--
Pauli Virtanen
More information about the SciPy-User
mailing list