[llvm-bugs] [Bug 46146] Offload reduction of std::complex gives wrong result when user defined reduction is missing

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 5 11:22:47 PDT 2020


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

Ye Luo <xw111luoye at gmail.com> changed:

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

--- Comment #2 from Ye Luo <xw111luoye at gmail.com> ---
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 complex_reduction.cpp &&
./a.out
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -ffast-math
complex_reduction.cpp && ./a.out
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -O3 complex_reduction.cpp &&
./a.out
FAIL: clang++ -fopenmp -fopenmp-targets=nvptx64 -ffast-math -O3
complex_reduction.cpp && ./a.out

applying __NO_UDR
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR
complex_reduction.cpp && ./a.out
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR -ffast-math
complex_reduction.cpp && ./a.out
PASS:clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR -O3
complex_reduction.cpp && ./a.out
PASS:clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR -ffast-math -O3
complex_reduction.cpp && ./a.out

There is still one case failing.

-- 
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/20200605/e903b713/attachment.html>


More information about the llvm-bugs mailing list