[SciPy-Dev] flapack and the GIL
Pauli Virtanen
pav at iki.fi
Mon Feb 18 15:29:30 EST 2013
13.02.2013 15:52, Sturla Molden kirjoitti:
> On 04.02.2013 19:28, Pauli Virtanen wrote:
>> AFAIK, *all* of Lapack is threadsafe --- there are no SAVE or COMMON
>> statements. The same is probably true for any modified LAPACK routines
>> in MKL, Accelerate and the ilk.
>
> Do you mind if I put a 'threadsafe' in all of them? :)
>
> If one LAPACK method is tread-safe there is no reason to assume the
> others are not.
This would be otherwise fine, except that for Lapack < 3.2, we *know*
some (= only a couple?) of the methods are not threadsafe.
However, I guess if a methd is marked threadsafe in LAPACK >= 3.0.0, we
should mark it so also in our wrappers...
Pauli
More information about the SciPy-Dev
mailing list