[Openmp-commits] [PATCH] D85320: [OpenMP] Fix `present` diagnostic for array extension

Joel E. Denny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 5 08:45:54 PDT 2020


jdenny created this revision.
jdenny added reviewers: grokos, RaviNarayanaswamy, jdoerfert, ABataev.
Herald added subscribers: openmp-commits, guansong, yaxunl.
Herald added a project: OpenMP.
jdenny requested review of this revision.
Herald added a subscriber: sstefan1.

For example, without this patch, the following fails as expected with
or without the `present` modifier, but the `present` modifier doesn't
produce its usual diagnostic:

  #pragma omp target data map(alloc: arr[0:2])
  {
    #pragma omp target map(present, tofrom: arr[0:100]) // not fully present
    ;
  }


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85320

Files:
  openmp/libomptarget/src/device.cpp
  openmp/libomptarget/test/mapping/present/target_array_extension.c
  openmp/libomptarget/test/mapping/present/target_data_array_extension.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85320.283253.patch
Type: text/x-patch
Size: 7447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200805/83cec73f/attachment-0001.bin>


More information about the Openmp-commits mailing list