[llvm-bugs] [Bug 45533] CUDA and OpenMP math functions conflicts (using both -xcuda and -fopenmp)

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 21 11:07:44 PST 2020


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

Anonymous User <dontbugme at mailinator.com> changed:

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

--- Comment #7 from Anonymous User <dontbugme at mailinator.com> ---
Thank you for this change!

I have to report that it's partially working.

It seems that __clang_cuda_complex_builtins.h is not updated with the rest of
stuff in D78155. I.e. _OPENMP is not replaced by __OPENMP_NVPTX__ in that file.

To validate, when I hardcodedly change it, then everything works...

May I mark this as reopened?

-- 
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/20201121/b342dde2/attachment.html>


More information about the llvm-bugs mailing list