<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi, there are three errors here.</div><div><br></div><div>> error: cannot find libdevice for sm_20. Provide path to different CUDA installation via --cuda-path, or pass -nocudalib to build without linking with libdevice.</div><div dir="ltr"><br></div><div dir="ltr">> error: GPU arch sm_20 is supported by CUDA versions between 7.0 and 8.0 (inclusive), but installation at /usr/local/cuda is 10.0. Use --cuda-path to specify a different CUDA install, pass a different GPU arch with --cuda-gpu-arch, or pass --no-cuda-version-check.</div><div dir="ltr"><br></div><div>If you have ideas how to make these two errors more clear, patches welcome.</div><div><br></div><div>> error: unable to handle compilation, expected exactly one compiler job </div><div><br></div><div>Pass --cuda-device-only or --cuda-host-only. Right now clang is trying to compile both for host and device, and that isn't going to work.</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 9, 2019 at 12:48 PM Aditya Atluri via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-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 dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I am trying to make my toy ast matchers to parse cuda code. But I am getting an error (log.txt)</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div><br></div>-- <br><div dir="ltr" class="gmail-m_1435530130760264513gmail_signature"><div dir="ltr"><div><div><span style="font-family:tahoma,sans-serif">- Aditya Atluri</span><br></div></div></div></div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>