[Openmp-commits] [openmp] [OpenMP][libomptarget][FIX] Fix mapping of struct to device (PR #70821)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 1 18:19:56 PDT 2023

RaviNarayanaswamy wrote:

For #pragma omp target enter data map(to: dat.datum[:10]) map(to: dat)
Shouldn't frontend be allocating dat and doing a MAPTYPE_MEMBER_OF with  MAPTTYPE_PTR_AND_OBJ to allocated datum[:10] and attach to dat and then a data transfer.


More information about the Openmp-commits mailing list