[Numpy-discussion] BLAS and LAPACK ABI questions (mostly OSX related)

Sturla Molden sturla.molden at gmail.com
Mon Jun 9 08:37:02 EDT 2014


On 09/06/14 13:40, Sturla Molden wrote:

>> https://github.com/numpy/numpy/issues/4007
>
> Possibly, but it seems to be in _dotblas which uses cblas. NumPy has its
> own cblas.h. Perhaps it conflicts with Apple's?
>
> Apple's documentation says that cblas_sdot returns float, but knowing Apple
> this might not be accurate. OK, time to locate cblas.h on my MacBook...

Hm, no, the declarations of cblas_sdot seems to be the same.


NumPy:

float  cblas_sdot(const int N, const float  *X, const int incX,
                   const float  *Y, const int incY);


Apple:

float  cblas_sdot(const int N, const float  *X, const int incX,
                   const float  *Y, const int incY) 
__OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_4_0);



Sturla






More information about the NumPy-Discussion mailing list