[clang] [openmp] [Clang][OpenMP] Fix mapping of structs to device (PR #75642)

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 21 17:33:38 PST 2023


jdoerfert wrote:

This fails for me on the host and the AMD GPU:
GPU:
# | <stdin>:217:1: note: possible intended match here
# | dat.datum[dat.arr[0][0]] = 5
X86:
# | <stdin>:134:1: note: possible intended match here
# | dat.datum[dat.arr[0][0]] = 5461

The location that is printed (datum[1]) is uninitialized.


https://github.com/llvm/llvm-project/pull/75642


More information about the cfe-commits mailing list