<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="#0563C1" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thank you Kiran.  I have updated the text like this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">SIMD works by passing vectorisation metadata to LLVM. Known limitations: DECLARE SIMD has no effect on SIMD code generation; …</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Kiran Chandramohan <Kiran.Chandramohan@arm.com><br>
<b>Date: </b>Wednesday, October 28, 2020 at 1:53 AM<br>
<b>To: </b>flang-dev <flang-dev@lists.llvm.org>, Steve Scalpone <sscalpone@nvidia.com><br>
<b>Subject: </b>Re: [Classic Flang] OpenMP Compilers and Tools web page<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<table class="MsoNormalTable" border="1" cellpadding="0" style="margin-left:.5in;background:#FFEB9C">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">External email: Use caution opening links or attachments</span></b><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">
</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;color:black">Hi Steve,<br>
<br>
We have a patch currently being reviewed which adds support for the basic !$omp simd directive. The plan is to merge this soon (before next Wednesday) if there are no major concerns. This can affect the limitations section which mentions no support for the
 simd directive.<br>
<br>
<a href="https://github.com/flang-compiler/flang/pull/660">https://github.com/flang-compiler/flang/pull/660</a><br>
<br>
Thanks,<br>
Kiran<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<hr size="0" width="84%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="color:black">From:</span></b><span style="color:black"> flang-dev <flang-dev-bounces@lists.llvm.org> on behalf of Steve Scalpone via flang-dev <flang-dev@lists.llvm.org><br>
<b>Sent:</b> 28 October 2020 03:11<br>
<b>To:</b> flang-dev <flang-dev@lists.llvm.org><br>
<b>Subject:</b> [flang-dev] [Classic Flang] OpenMP Compilers and Tools web page</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">Every year, the OpenMP Language Committee solicits updates for the OpenMP Compilers and Tools web page.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">You can see the entry for Classic Flang here:</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"><a href="https://docs.google.com/document/d/1y-DVSSp4UB-rJ0oQdMNLThCoqRoxG-XMY0DlTu6o7zk/edit?usp=sharing">https://docs.google.com/document/d/1y-DVSSp4UB-rJ0oQdMNLThCoqRoxG-XMY0DlTu6o7zk/edit?usp=sharing</a></span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">I don’t recall any changes this year that would affect the status of OpenMP in Classic Flang.   I suppose the vendors of Classic Flang will produce their own entry, so in a sense,
 the entry for Classic Flang is redundant.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">I propose we leave the text as is; however, we can consider editing the text or removing the entry altogether.  Please reply with your ideas.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">Thanks,</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">- Steve</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt">Here is the current text:</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">Fortran for LLVM. Substantially full OpenMP 4.5 on Linux/x86-64, Linux/ARM, Linux/OpenPOWER, limited target offload support on NVIDIA GPUs.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:15.0pt;margin-left:.5in">
<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">By default, TARGET regions are mapped to the multicore host CPU as the target with DO and DISTRIBUTE loops parallelized across all OpenMP threads.</span><o:p></o:p></p>
<p class="xmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:15.0pt;margin-left:.5in">
<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">Known limitations: SIMD and DECLARE SIMD have no effect on SIMD code generation; TASK DEPEND/PRIORITY, TASKLOOP FIRSTPRIVATE/LASTPRIVATE, DECLARE REDUCTION and the LINEAR/SCHEDULE/ORDERED(N)
 clauses on the DO construct are not supported.</span><o:p></o:p></p>
<p class="xmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:15.0pt;margin-left:.5in">
<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">The limited support for target offload to NVIDIA GPUs includes basic support for offload of !$omp target combined constructs.</span><o:p></o:p></p>
<p class="xmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:15.0pt;margin-left:.5in">
<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">Compile with -mp to enable OpenMP for multicore CPUs on all platforms.</span><o:p></o:p></p>
<p class="xmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:15.0pt;margin-left:.5in">
<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2E2E2E">Compile with -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda to enable target offload to NVIDIA GPUs.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:.5in"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>