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

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.
llvm-bugs mailing list

Reply via email to