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: unassignedclangb...@nondot.org
          Reporter: xw111lu...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to