<br><br>On Wednesday, September 16, 2015, Churbanov, Andrey <<a href="mailto:Andrey.Churbanov@intel.com">Andrey.Churbanov@intel.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> > Does LLVM's OpenMP implemented this?<br>
<br>
As LLVM's OpenMP uses Intel's runtime library now, it re-uses threads when possible.<br>
<br>
There could be introduced execution modes that require to destroy threads after each<br>
parallel region in future OpenMP standards, but currently OpenMP threads<br>
are created once for the lifetime of the application with no ability to destroy them.<br>
<br>
And I'd guess that any OpenMP implementation behaves same way.</blockquote><div><br></div>Does the Intel's library work for also Windows? <br><div> Thank you,</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Andrey<br>
<br>
> -----Original Message-----<br>
> From: Openmp-dev [mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'openmp-dev-bounces@lists.llvm.org')">openmp-dev-bounces@lists.llvm.org</a>] On Behalf<br>
> Of Hal Finkel via Openmp-dev<br>
> Sent: Wednesday, September 16, 2015 1:59 PM<br>
> To: J Z<br>
> Cc: openmp-dev<br>
> Subject: Re: [Openmp-dev] [llvm-dev] Does LLVM OpenMP reuse threads by<br>
> pooling?<br>
><br>
> [moving to openmp-dev]<br>
><br>
> ----- Original Message -----<br>
> > From: "J Z via llvm-dev" <<a href="javascript:;" onclick="_e(event, 'cvml', 'llvm-dev@lists.llvm.org')">llvm-dev@lists.llvm.org</a>><br>
> > To: <a href="javascript:;" onclick="_e(event, 'cvml', 'llvm-dev@lists.llvm.org')">llvm-dev@lists.llvm.org</a><br>
> > Sent: Tuesday, September 15, 2015 5:49:21 PM<br>
> > Subject: [llvm-dev] Does LLVM OpenMP reuse threads by pooling?<br>
> ><br>
> > Hi,<br>
> ><br>
> > I've read the link<br>
> > <a href="https://software.intel.com/en-us/articles/performance-obstacles-for-" target="_blank">https://software.intel.com/en-us/articles/performance-obstacles-for-</a><br>
> threading-how-do-they-affect-openmp-code<br>
> ><br>
> > that says the thread pooling technique may be used by OpenMP<br>
> > implementation.<br>
> ><br>
> > Does LLVM's OpenMP implemented this?<br>
> ><br>
> > Thank you,<br>
> > J<br>
> > _______________________________________________<br>
> > LLVM Developers mailing list<br>
> > <a href="javascript:;" onclick="_e(event, 'cvml', 'llvm-dev@lists.llvm.org')">llvm-dev@lists.llvm.org</a><br>
> > <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
> ><br>
><br>
> --<br>
> Hal Finkel<br>
> Assistant Computational Scientist<br>
> Leadership Computing Facility<br>
> Argonne National Laboratory<br>
> _______________________________________________<br>
> Openmp-dev mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'Openmp-dev@lists.llvm.org')">Openmp-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>
<br>
--------------------------------------------------------------------<br>
Closed Joint Stock Company Intel A/O<br>
Registered legal address: Krylatsky Hills Business Park,<br>
17 Krylatskaya Str., Bldg 4, Moscow 121614,<br>
Russian Federation<br>
<br>
This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.<br>
</blockquote>