[llvm-bugs] [Bug 45401] Target CUDA RTL --> CUDA error is: named symbol not found

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 14 15:00:48 PDT 2020


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

Ye Luo <xw111luoye at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Ye Luo <xw111luoye at gmail.com> ---
After a bit more investigation, I found it related with the flag -march
intended for the host compilation.
I invoke the compiler with
-march=native -O3 -ffast-math -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda
some functions failed to be loaded.
If I put -march=skylake-avx512, it still fails.
Once I changed the flag to -march=skylake, my application runs.

So my hypothesis is, some avx512 codes contaminated my device functions.

-- 
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/20200614/389a5c45/attachment.html>


More information about the llvm-bugs mailing list