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

Ye Luo <xw111lu...@gmail.com> changed:

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

--- Comment #2 from Ye Luo <xw111lu...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to