<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:56.7pt 42.5pt 56.7pt 85.05pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">> Does the Intel's library work for also Windows? <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Yes it does.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">- Andrey<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> J Z [mailto:jianzhou.zh@gmail.com]
<br>
<b>Sent:</b> Wednesday, September 16, 2015 3:06 PM<br>
<b>To:</b> Churbanov, Andrey<br>
<b>Cc:</b> Hal Finkel; openmp-dev<br>
<b>Subject:</b> Re: Does LLVM OpenMP reuse threads by pooling?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><br>
<br>
On Wednesday, September 16, 2015, Churbanov, Andrey <<a href="mailto:Andrey.Churbanov@intel.com">Andrey.Churbanov@intel.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">> > 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.<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Does the Intel's library work for also Windows? <o:p></o:p></p>
<div>
<p class="MsoNormal"> Thank you,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><br>
Regards,<br>
Andrey<br>
<br>
> -----Original Message-----<br>
> From: Openmp-dev [mailto:<a href="javascript:;">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:;">llvm-dev@lists.llvm.org</a>><br>
> > To: <a href="javascript:;">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:;">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:;">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.<o:p></o:p></p>
</blockquote>
</div>
</div>
<p><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</p>

<p>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.</p></body>
</html>