Open Quuxplusone opened 3 years ago
Bugzilla Link | PR52507 |
Status | NEW |
Importance | P enhancement |
Reported by | Jon Chesterfield (jonathanchesterfield@gmail.com) |
Reported on | 2021-11-15 03:12:02 -0800 |
Last modified on | 2021-11-16 08:46:12 -0800 |
Version | unspecified |
Hardware | PC Linux |
CC | huberjn@ornl.gov, jdoerfert@anl.gov, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
I tried to reproduce this on Spock with upstream LLVM and didn't seem to get
the error. This is weird because it seems to cause issues on spock.
$ clang++ amd.cpp -std=c++17 -lm -O3 -fopenmp -target x86_64-pc-linux-gnu -
fopenmp-targets=amdgcn-amd-amdhsa -Rpass=openmp-opt
$ env LIBOMPTARGET_INFO=1 ./a.out
Libomptarget device 0 info: Entering OpenMP kernel at amd.cpp:8:1 with 1
arguments:
Libomptarget device 0 info: tofrom(a)[4]
a = 1.000000