[SciPy-user] conforming to Python GIL...
Pearu Peterson
pearu at cens.ioc.ee
Fri Apr 4 13:53:17 EDT 2008
On Fri, April 4, 2008 8:09 pm, Travis E. Oliphant wrote:
>
>>
>> What do you mean? Currently only lapack wrappers in scipy use threadsafe
>> and there has been no attempts to use it elsewhere in scipy, awaik.
>> I don't understand whether you consider it as a bad or good thing.
>>
> Really, the lapack wrappers have threadsafe? I'll have to check again.
> Yesterday, when I looked at the f2py-generated code for gesv I did not
> see any evidence of releasing of the GIL.
Apparently not all lapack wrappers have. I just did `grep threadsafe ..`
and it showed at least 3 matches.
> I suspect that the GIL should be released for most of the lapack code as
> well. Is there much overhead that way?
I haven't tested but it would interesting to know the answer indeed.
Pearu
More information about the SciPy-User
mailing list