<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 30, 2020 at 2:34 PM Igor Sugak <<a href="mailto:sugak@fb.com">sugak@fb.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">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div><div>I work in a large CUDA codebase and use Clang to build some of our CUDA code to improve compilation speed. We're planning to upgrade to CUDA 11 soon, and it appears that CUDA 11 is not yet supported in LLVM.
</div>
<div><br>
</div>
<div>From the LLVM commits history, I can see that work on CUDA 11 has started. Is this currently being worked on? What is the remaining work left? And is any help needed to finish it?</div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">Clang works with CUDA-11 with feature parity with CUDA-10.1. I.e. whatever code clang was able to compile w/ CUD-10.1 it should still be able to compile w/ 11.0.</div><div class="gmail_default" style="font-family:verdana,sans-serif">It supports targeting new GPUs supported by newer CUDA versions, but currently lacks support for the new instruction variants and corresponging LLVM intrinsics and clang builtins (hence the warning, which can be disabled).</div></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">In the past addition of new features was driven by the practical need for them and there's been little demand for the new bells and whistles. Most of the TensorCore cycles are spent in NVIDIA's own cuBLAS/cuDNN precompiled libraries these days with little to no compileable source code that needs to support TensorCores.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Do you have the list of specific CUDA features that you need clang to support?</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">--Artem Belevich</div></div></div>