[llvm-bugs] [Bug 51633] New: offload to nvptx: Linking two modules of different target triples

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 26 10:43:10 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51633

            Bug ID: 51633
           Summary: offload to nvptx: Linking two modules of different
                    target triples
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xw111luoye at gmail.com
                CC: llvm-bugs at lists.llvm.org

[ 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210826/f8bea9ef/attachment-0001.html>


More information about the llvm-bugs mailing list