[Numpy-discussion] Use OpenBLAS for the binary releases?

Henry Gomersall heng@cantab....
Tue Nov 20 14:52:54 CST 2012


On Tue, 2012-11-20 at 20:35 +0100, Dag Sverre Seljebotn wrote:
> Is there a specific reason it *has* to happen at compile-time? I'd
> think 
> one could do something like just shipping a lot of separate Python 
> extensions which are really just the same module linked with
> different 
> versions of the library, and then
> 
> if cpu_is_nehalem:
>      import blas_nehalem as blas
> elif ...
> 
> I'm asking a question about whether this would work in principle, I 
> realize it would perhaps not fit that well in the current NumPy
> codebase. 

I was wondering this in the context of a previous discussion. Could we
not have an autotune module, that just runs a load of test scripts and
picks the best library to link against?

Cheers,

Henry



More information about the NumPy-Discussion mailing list