[llvm-bugs] [Bug 45401] New: Target CUDA RTL --> CUDA error is: named symbol not found
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 2 06:54:26 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45401
Bug ID: 45401
Summary: Target CUDA RTL --> CUDA error is: named symbol not
found
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Runtime Library
Assignee: unassignedbugs at nondot.org
Reporter: xw111luoye at gmail.com
CC: llvm-bugs at lists.llvm.org
I got from LIBOMPTARGET_DEBUG=1 output
Target CUDA RTL --> Load data from image 0x000000000096ab50
Target CUDA RTL --> CUDA module successfully loaded!
Target CUDA RTL --> Loading
'__omp_offloading_29_37ac7ea__ZN11qmcplusplus12SplineC2ROMPIfE19evaluateVGLMultiPosERKNS_6VectorIfNS_12OMPallocatorIfNS_23CUDALockedPageAllocatorIfNS_10MallocatorIfLm64EEEEEEEEERKSt6vectorISt17reference_wrapperINS2_IfSaIfEEEESaISG_EERKSC_ISD_INS2_INS_10TinyVectorIfLj3EEESaISM_EEEESaISP_EESK__l103'
(Failed)
Target CUDA RTL --> CUDA error is: named symbol not found
Libomptarget --> Unable to generate entries table for device id 0.
caused by the following function in a class.
void evaluateVGLMultiPos(const Vector<ST, OffloadPinnedAllocator<ST>>&
multi_pos_copy,
const RefVector<ValueVector_t>& psi_v_list,
const RefVector<GradVector_t>& dpsi_v_list,
const RefVector<ValueVector_t>& d2psi_v_list)
{
#pragma omp target
{ }
}
The same class do have another target region which works fine if I comment out
the above target region.
void finalizeConstruction() override
{
#pragma omp target
{ }
}
Here I was not using static linking but directly linking the object file into
the final executable.
I also wondered if the long mangled name was the issue. But adding many
characters to finalizeConstruction didn't seem to cause any issue when I tried.
--
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/20200402/91060fff/attachment.html>
More information about the llvm-bugs
mailing list