<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:tra@google.com" title="Artem Belevich <tra@google.com>"> <span class="fn">Artem Belevich</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - "dynamic initialization is not supported" when compiling CUDA + Thrust code"
   href="https://bugs.llvm.org/show_bug.cgi?id=44803">bug 44803</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - "dynamic initialization is not supported" when compiling CUDA + Thrust code"
   href="https://bugs.llvm.org/show_bug.cgi?id=44803#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - "dynamic initialization is not supported" when compiling CUDA + Thrust code"
   href="https://bugs.llvm.org/show_bug.cgi?id=44803">bug 44803</a>
              from <span class="vcard"><a class="email" href="mailto:tra@google.com" title="Artem Belevich <tra@google.com>"> <span class="fn">Artem Belevich</span></a>
</span></b>
        <pre>I don't think it's a clang bug.

Thrust has changed a lot since the last time I've made it compile-able with
clang. Thrust uses fairly elaborate C++ and has fair amount of nvcc-isms that
don't work with clang. I've made an attempt to fix the current version around
CUDA-10.1 release last summer and gave up. 

If you need thrust your options are to either use an older version or make an
effort to port it to work with clang. In the past NVIDIA did accept pull
requests for clang portability fixes.</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>