[Numpy-discussion] Fast threading solution thoughts

Matthieu Brucher matthieu.brucher at gmail.com
Thu Feb 12 08:48:44 EST 2009


Yes, it is. You have to link against pthread (at least with Linux ;))

You have to write a single parallel region if you don't want this
overhead (which is not possible with Python).

Matthieu

2009/2/12 Gael Varoquaux <gael.varoquaux at normalesup.org>:
> On Wed, Feb 11, 2009 at 11:52:40PM -0600, Robert Kern wrote:
>> > This seem like pretty heavy solutions though.
>
>> >From a programmer's perspective, it seems to me like OpenMP is a muck
>> >lighter weight solution than pthreads.
>
> >From a programmer's perspective, because, IMHO, openmp is implemented
> using pthreads. I do have difficulties verifying this on the web, but
> documents I find hint to that.
>
> Gaël
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher



More information about the NumPy-Discussion mailing list