<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 - offload to nvptx: Linking two modules of different target triples"
   href="https://bugs.llvm.org/show_bug.cgi?id=51633">51633</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>offload to nvptx: Linking two modules of different target triples
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Clang Compiler Support
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>xw111luoye@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>[ 90%] Building CXX object
src/QMCWaveFunctions/CMakeFiles/qmcwfs.dir/DiracDeterminant.cpp.o
warning: linking module '/usr/local/cuda-11.0/nvvm/libdevice/libdevice.10.bc':
Linking two modules of different data layouts:
'/usr/local/cuda-11.0/nvvm/libdevice/libdevice.10.bc' is '' whereas
'/home/yeluo/opt/miniqmc/src/QMCWaveFunctions/DiracDeterminant.cpp' is
'e-i64:64-i128:128-v16:16-v32:32-n16:32:64'
 [-Wlinker-warnings]
warning: linking module '/usr/local/cuda-11.0/nvvm/libdevice/libdevice.10.bc':
Linking two modules of different target triples:
'/usr/local/cuda-11.0/nvvm/libdevice/libdevice.10.bc' is
'nvptx64-nvidia-gpulibs' whereas
'/home/yeluo/opt/miniqmc/src/QMCWaveFunctions/DiracDeterminant.cpp' is
'nvptx64-nvidia-cuda'
 [-Wlinker-warnings]
warning: linking module
'/soft/llvm/main-20210824/lib/libomptarget-nvptx-sm_80.bc': Linking two modules
of different target triples:
'/soft/llvm/main-20210824/lib/libomptarget-nvptx-sm_80.bc' is 'nvptx64' whereas
'/home/yeluo/opt/miniqmc/src/QMCWaveFunctions/DiracDeterminant.cpp' is
'nvptx64-nvidia-cuda'
 [-Wlinker-warnings]

Roughly starts since 1c829ce1e3627cf9b22da33943dc2e423ded11c4</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>