<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - RFE: Scattered --cuda-path in Linux Distributions"
   href="https://llvm.org/bugs/show_bug.cgi?id=26966">26966</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>RFE: Scattered --cuda-path in Linux Distributions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>CUDA
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>a.huebl@hzdr.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

installing CUDA on a Ubuntu or Debian machine from contrib/non-free/multiverse
will lead to a "scattered" CUDA a bit different from what the Nvidia installer
creates.

For Debian 8.0 "Jessie", the provided "contrib" CUDA 6.0 looks like this:

/usr/bin/nvcc
/usr/include/cuda.h
/usr/lib/x86_64-linux-gnu/libcuda.so
/usr/lib/x86_64-linux-gnu/libcudart.so
[...]

Details:
  <a href="https://packages.debian.org/jessie/amd64/nvidia-cuda-dev/filelist">https://packages.debian.org/jessie/amd64/nvidia-cuda-dev/filelist</a>
  <a href="https://packages.debian.org/jessie/amd64/nvidia-cuda-toolkit/filelist">https://packages.debian.org/jessie/amd64/nvidia-cuda-toolkit/filelist</a>

Trying to compile a .cu file with clang++ --cuda-path=/usr does not get
recognised as a valid install. It would be great if such install paths would be
supported, too.

(Created on request, see
<a href="http://lists.llvm.org/pipermail/cfe-dev/2016-March/047994.html">http://lists.llvm.org/pipermail/cfe-dev/2016-March/047994.html</a>)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>