[Openmp-commits] [PATCH] D83062: [OpenMP] Implement TR8 `present` map type modifier in runtime (2/2)

Joel E. Denny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 8 15:29:34 PDT 2020


jdenny updated this revision to Diff 276581.
jdenny marked an inline comment as done.
jdenny added a comment.

I added stderr messages for `present` violations, as discussed.  I've named the new macro `MESSAGE` to contrast with `FATAL_MESSAGE`, but I'm open to suggestions.

I adjusted the new tests to check for these new messages instead of the `LIBOMPTARGET_DEBUG=1` output.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83062/new/

https://reviews.llvm.org/D83062

Files:
  openmp/libomptarget/include/omptarget.h
  openmp/libomptarget/src/device.cpp
  openmp/libomptarget/src/device.h
  openmp/libomptarget/src/omptarget.cpp
  openmp/libomptarget/src/private.h
  openmp/libomptarget/test/mapping/present/target.c
  openmp/libomptarget/test/mapping/present/target_data.c
  openmp/libomptarget/test/mapping/present/target_enter_data.c
  openmp/libomptarget/test/mapping/present/target_exit_data.c
  openmp/libomptarget/test/mapping/present/unified_shared_memory.c
  openmp/libomptarget/test/mapping/present/zero_length_array_section.c
  openmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83062.276581.patch
Type: text/x-patch
Size: 23159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200708/1ce41d57/attachment-0001.bin>


More information about the Openmp-commits mailing list