<div dir="ltr"><div dir="ltr"><div>At the HEAD of Trunk of llvm-project, CMake seems to disregards these variables:</div><div>[...]</div><div>CMake Warning:</div><div>  Manually-specified variables were not used by the project:</div><div><br></div><div>    CLANG_OPENMP_NVPTX_DEFAULT_ARCH</div><div>    LIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES</div><div><br></div><div>Have you had a chance to build the latest one?</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 15, 2019 at 6:28 PM Lukas Sommer via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org">openmp-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I've been building the offloading toolchain for Nvidia GPUs on
      x86-systems before and found Jonas Hahnfeld's blog-post extremely
      useful to setup the compiler:</p>
    <p><a class="gmail-m_4626560458936199697moz-txt-link-freetext" href="https://www.hahnjo.de/blog/2018/10/08/clang-7.0-openmp-offloading-nvidia.html" target="_blank">https://www.hahnjo.de/blog/2018/10/08/clang-7.0-openmp-offloading-nvidia.html</a><br>
    </p>
    <p>Best regards,</p>
    <p>Lukas Sommer<br>
    </p>
    <p><br>
    </p>
    <div class="gmail-m_4626560458936199697moz-cite-prefix">On 3/15/19 10:23 AM, Alexey Bataev via
      Openmp-dev wrote:<br>
    </div>
    <blockquote type="cite">
      
      I'm not sure about it, there are some others who can help with
      this.<br>
      <br>
      <div id="gmail-m_4626560458936199697AppleMailSignature" dir="ltr">Best regards,
        <div>Alexey Bataev</div>
      </div>
      <div dir="ltr"><br>
        15 марта 2019 г., в 5:08, Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com" target="_blank">itaru.kitayama@gmail.com</a>>
        написал(а):<br>
        <br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Thanks. Does setting
              <div><br>
              </div>
              <div>LLVM_ENABLE_PROJECTS:STRING=clang;openmp;llvm<br>
              </div>
              <div><br>
              </div>
              <div>enough to create the corresponding .bc lib?</div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Fri, Mar 15, 2019 at
              6:01 PM Alexey Bataev <<a href="mailto:a.bataev@hotmail.com" target="_blank">a.bataev@hotmail.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              Yes, it should support it.<br>
              <br>
              Best regards,<br>
              Alexey Bataev<br>
              <br>
              > 15 марта 2019 г., в 4:55, Itaru Kitayama via
              Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>>
              написал(а):<br>
              > <br>
              > Hi,<br>
              > I'm wondering if LLVM/Clang supports OpenMP
              offloading to NVIDA<br>
              > targets from x86 nodes.<br>
              > <br>
              > Thanks,<br>
              > Itaru.<br>
              > _______________________________________________<br>
              > Openmp-dev mailing list<br>
              > <a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a><br>
              > <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" rel="noreferrer" target="_blank">
https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>
            </blockquote>
          </div>
        </div>
      </blockquote>
      <br>
      <fieldset class="gmail-m_4626560458936199697mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_4626560458936199697moz-quote-pre">_______________________________________________
Openmp-dev mailing list
<a class="gmail-m_4626560458936199697moz-txt-link-abbreviated" href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a class="gmail-m_4626560458936199697moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
Openmp-dev mailing list<br>
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>
</blockquote></div>