[Numpy-discussion] Fast threading solution thoughts

Robert Kern robert.kern at gmail.com
Thu Feb 12 01:56:31 EST 2009


On Thu, Feb 12, 2009 at 00:52, Brian Granger <ellisonbg.net at gmail.com> wrote:
>> I am curious: would you know what would be different in numpy's case
>> compared to matlab array model concerning locks ? Matlab, up to
>> recently, only spreads BLAS/LAPACK on multi-cores, but since matlab 7.3
>> (or 7.4), it also uses multicore for mathematical functions (cos,
>> etc...). So at least in matlab's model, it looks like it can be useful.
>
> Good point.  Is it possible to tell what array size it switches over
> to using multiple threads?

Yes.

http://svn.scipy.org/svn/numpy/branches/multicore/numpy/core/threadapi.py

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list