<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:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
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 bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Georgios and Alexey, Thank you very much answers.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">1. It is good to know that teams reduction is not ready yet. Then I will stay tuned. Just one quick question, does new design affect parallel reduction?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2. I am following the submission about bundler. It is affecting us directly since we use clang's driver along with OpenMP toolchain.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">In terms of data sharing -  I am aware of data sharing issue. It is an inevitable problem :) We are not there yet at the moment.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Alexey Bataev <a.bataev@outlook.com>
<br>
<b>Sent:</b> Tuesday, July 3, 2018 7:04 PM<br>
<b>To:</b> Guray Ozen <gozen@nvidia.com>; Hervé Yviquel <herve.yviquel@ic.unicamp.br>; openmp-dev@lists.llvm.org<br>
<b>Subject:</b> Re: [Openmp-dev] Available features of libomptarget nvptx for 7.0 release<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi Guray,<o:p></o:p></p>
<p>Almost all my comments, related to clang, also related to libomptarget.<o:p></o:p></p>
<p>1. Reductions across the teams. We don't have support for this neither in clang, nor in runtime. I don't like the implementation in clang-ykt and declined to include this implementation in trunk. Instead I proposed the new design of the reductions across
 the teams mechanism (it is more universal, stable and extendable). One of our engineers works on this feature for libomptarget, but it is hard to say when it is going to be ready.<o:p></o:p></p>
<p>2. Yes. Again, we had a long discussion. I'm highly against the solution, which is part of the clang-ykt, and proposed a new design. Again, one of our engineers is working on this feature along with the generic data-sharing problem. Probably, you will face
 the same data-sharing problem, we ran into, and you will also need the support these 2 data-sharing models: cuda-like and the generic, which is a kind of the original C++ model, where locals can be accessed by all the threads in the parallel region.<o:p></o:p></p>
<pre>-------------<o:p></o:p></pre>
<pre>Best regards,<o:p></o:p></pre>
<pre>Alexey Bataev<o:p></o:p></pre>
<div>
<p class="MsoNormal">03.07.2018 12:48, Guray Ozen пишет:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Thank you very much for the answer Alexey. I am actually more curious about the runtime. Because, in Nvidia, we have started implementing OpenMP GPU offload on Flang frontend. We are using libomptarget and
 libomtparget-nvptx. Therefore I was asking which features will runtime support in v7.0.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Also, my additional comments are below.</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Alexey Bataev
<a href="mailto:a.bataev@outlook.com"><a.bataev@outlook.com></a> <br>
<b>Sent:</b> Tuesday, July 3, 2018 5:39 PM<br>
<b>To:</b> Hervé Yviquel <a href="mailto:herve.yviquel@ic.unicamp.br"><herve.yviquel@ic.unicamp.br></a>; Guray Ozen
<a href="mailto:gozen@nvidia.com"><gozen@nvidia.com></a>; <a href="mailto:openmp-dev@lists.llvm.org">
openmp-dev@lists.llvm.org</a><br>
<b>Subject:</b> Re: [Openmp-dev] Available features of libomptarget nvptx for 7.0 release</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p>Hi, are you interested in the status of clang compiler or just library? I can answer for clang and support for offloading to NVidia GPUs.
<br>
It supports almost everything from OpenMP 4.5, except for reductions across the teams.<o:p></o:p></p>
<p><b><i><span style="color:windowtext">[GURAY:] Is it only in clang ? Do you know does teams reduction works on runtime?</span></i></b><o:p></o:p></p>
<p><br>
Also, there are still some bugs in the current implementation.<br>
1. Some math functions may cause troubles during the compilation of the device specific code. There is a patch that fixes that problem, but it requires some additional work.<br>
2. Our implementation supports 2 datasharing model for the device code: cuda mode, where all local variables are actually local threadprivate globals (i.e. registers), and generic mode, where the shared variables are placed in the global memory and can be shared
 between the threads of the parallel regions. Currently, only cuda-mode works correctly, generic mode requires some additional bug fix.<br>
Also, trunk clang compiler does not support static linking.<o:p></o:p></p>
<p><b><i><span style="color:windowtext">[GURAY:] Is related to clang-offload-bundler?</span></i></b><o:p></o:p></p>
<p><br>
<br>
Best regards,<br>
Alexey Bataev.<o:p></o:p></p>
<pre>-------------<o:p></o:p></pre>
<pre>Best regards,<o:p></o:p></pre>
<pre>Alexey Bataev<o:p></o:p></pre>
<div>
<p class="MsoNormal">01.07.2018 5:26, Hervé Yviquel via Openmp-dev пишет:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica",sans-serif;color:#231F20">I agree. Would it be possible to get an update on the status of libomptarget and its codegen? Is it more or less in pair with clang-ykt now?</span><o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica",sans-serif;color:#231F20">Thanks,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica",sans-serif;color:#231F20">Hervé</span><o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On juin 13 2018, at 6:15 pm, Guray Ozen via Openmp-dev <a href="mailto:openmp-dev@lists.llvm.org">
<openmp-dev@lists.llvm.org></a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">The release date for 7.0 is approaching. I'm curious about the libomptarget and libomptarget-nvptx runtime library. Is there a list of which features are not available in 7.0 and which ones are not?<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Best<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">-guray</span></strong><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact
 the sender by reply email and destroy all copies of the original message.<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Openmp-dev mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:Openmp-dev@lists.llvm.org">Openmp-dev@lists.llvm.org</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Openmp-dev mailing list<o:p></o:p></pre>
<pre><a href="mailto:Openmp-dev@lists.llvm.org">Openmp-dev@lists.llvm.org</a><o:p></o:p></pre>
<pre><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>