[Openmp-dev] Does LLVM OpenMP reuse threads by pooling?

Churbanov, Andrey via Openmp-dev openmp-dev at lists.llvm.org
Wed Sep 16 05:25:17 PDT 2015


> Does the Intel's library work for also Windows?
Yes it does.

- Andrey


From: J Z [mailto:jianzhou.zh at gmail.com]
Sent: Wednesday, September 16, 2015 3:06 PM
To: Churbanov, Andrey
Cc: Hal Finkel; openmp-dev
Subject: Re: Does LLVM OpenMP reuse threads by pooling?



On Wednesday, September 16, 2015, Churbanov, Andrey <Andrey.Churbanov at intel.com<mailto:Andrey.Churbanov at intel.com>> wrote:
> > Does LLVM's OpenMP implemented this?

As LLVM's OpenMP uses Intel's runtime library now, it re-uses threads when possible.

There could be introduced execution modes that require to destroy threads after each
parallel region in future OpenMP standards, but currently OpenMP threads
are created once for the lifetime of the application with no ability to destroy them.

And I'd guess that any OpenMP implementation behaves same way.

Does the Intel's library work for also Windows?
 Thank you,


Regards,
Andrey

> -----Original Message-----
> From: Openmp-dev [mailto:openmp-dev-bounces at lists.llvm.org<javascript:;>] On Behalf
> Of Hal Finkel via Openmp-dev
> Sent: Wednesday, September 16, 2015 1:59 PM
> To: J Z
> Cc: openmp-dev
> Subject: Re: [Openmp-dev] [llvm-dev] Does LLVM OpenMP reuse threads by
> pooling?
>
> [moving to openmp-dev]
>
> ----- Original Message -----
> > From: "J Z via llvm-dev" <llvm-dev at lists.llvm.org<javascript:;>>
> > To: llvm-dev at lists.llvm.org<javascript:;>
> > Sent: Tuesday, September 15, 2015 5:49:21 PM
> > Subject: [llvm-dev] Does LLVM OpenMP reuse threads by pooling?
> >
> > Hi,
> >
> > I've read the link
> > https://software.intel.com/en-us/articles/performance-obstacles-for-
> threading-how-do-they-affect-openmp-code
> >
> > that says the thread pooling technique may be used by OpenMP
> > implementation.
> >
> > Does LLVM's OpenMP implemented this?
> >
> > Thank you,
> > J
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org<javascript:;>
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> >
>
> --
> Hal Finkel
> Assistant Computational Scientist
> Leadership Computing Facility
> Argonne National Laboratory
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org<javascript:;>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150916/f864855b/attachment.html>


More information about the Openmp-dev mailing list