<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=us-ascii">
<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;}
/* 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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.xxxmsonormal, li.xxxmsonormal, div.xxxmsonormal
        {mso-style-name:x_xxmsonormal;
        margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="xxxmsonormal">Hello!<o:p></o:p></p>
<p class="xxxmsonormal"> <o:p></o:p></p>
<p class="xxxmsonormal">Visual C/C++ compiler team in Microsoft (see Cc list) is working on updating our support for OpenMP.<o:p></o:p></p>
<p class="xxxmsonormal">Currently Visual C/C++ compiler supports OpenMP standard 2.0, with some exclusions. We started the work to support the newer standards.<o:p></o:p></p>
<p class="xxxmsonormal">As the first step we took LLVM OpenMP runtime library (libomp) and switched the Visual C/C++ compiler to generate code for OpenMP 2.0 for libomp, currently only for x64. The feature is in ‘experimental’ (or ‘beta’) state; should be available
 in the next release, Visual Studio version 16.9 preview 3, early next year. It’ll be available under a separate switch (-openmp:llvm), so people can try it out.
<o:p></o:p></p>
<p class="xxxmsonormal">With this update we’ve fixed a nasty bug for shared variables (was present in Visual C/C++ compiler) and added unsigned induction variables for for loops (was not supported previously). We’ve also added some initial limited support for
 tasks; that one is under additional -openmp:experimental switch (not ‘beta’ quality yet, and only a minimal set of clauses is supported). There will be a more detailed announcement at the time of the release.<o:p></o:p></p>
<p class="xxxmsonormal"> <o:p></o:p></p>
<p class="xxxmsonormal">As it’s beta, we don’t have yet full quality assessment. Our internal compiler tests passed, libomp runtime tests show that we don’t have a lot of features yet (which is expected), and there are some issues with tasks which we still
 need to look at. We plan to try <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.epcc.ed.ac.uk%2Fresearch%2Fcomputing%2Fperformance-characterisation-and-benchmarking%2Fepcc-openmp-micro-benchmark-suiterun&data=04%7C01%7Cnatgla%40microsoft.com%7Ce0c4ff433fb44f6ff03608d89d82e6e7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637432532828295455%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=54gUxzqjwx%2FgItPs1JGVkcHBymI6m1NqDl6R0pcSTAk%3D&reserved=0">
https://www.epcc.ed.ac.uk/research/computing/performance-characterisation-and-benchmarking/epcc-openmp-micro-benchmark-suiterun</a> next. I am doing performance measurements now.<o:p></o:p></p>
<p class="xxxmsonormal"> <o:p></o:p></p>
<p class="xxxmsonormal">We’ve done several changes to libomp (additional functions), and if the performance will be good, we’d like to upstream the changes.<o:p></o:p></p>
<p class="xxxmsonormal"> <o:p></o:p></p>
<p class="xxxmsonormal">Natalia Glagoleva, MSVC<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>