[llvm-bugs] [Bug 36699] New: cannot find libdevice for sm_37

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 12 16:27:49 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36699

            Bug ID: 36699
           Summary: cannot find libdevice for sm_37
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: CUDA
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sin.pecado at gmail.com
                CC: llvm-bugs at lists.llvm.org

The options "-x cuda --cuda-path=/opt/cuda/9.0 --cuda-gpu-arch=sm_37" produce
the following error:
clang-6.0: error: cannot find libdevice for sm_37. Provide path to different
CUDA installation via --cuda-path, or pass -nocudalib to build without linking
with libdevice.

$ clang --version
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/tcbsys/clang/6.0.0/bin

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180312/89616840/attachment.html>


More information about the llvm-bugs mailing list