<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - CUDA 9.X is not compiled anymore by clang since 7.0.0 till now (8.0.0 in trunk)"
   href="https://bugs.llvm.org/show_bug.cgi?id=38811">38811</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CUDA 9.X is not compiled anymore by clang since 7.0.0 till now (8.0.0 in trunk)
          </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>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>release blocker
          </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>evgeny.mankov@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20825" name="attach_20825" title="error log">attachment 20825</a> <a href="attachment.cgi?id=20825&action=edit" title="error log">[details]</a></span>
error log

Last working clang release was 6.0.1 when CUDA 9.0 was compiled successfully.

Logs are attached. Clang trunk ver. ae996149c69 (2018-08-24).

Btw, CUDA 8.0 is compiled successfully.

[How to repro]
clang++.exe -x cuda "c:\ProgramData\NVIDIA Corporation\CUDA
Samples\v9.0\0_Simple\simplePrintf\simplePrintf.cu" -I"c:\ProgramData\NVIDIA
Corporation\CUDA Samples\v8.0\common\inc" --cuda-gpu-arch=sm_50
--cuda-path="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0"
-L"c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64"
-lcudart.lib  -v</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>