[OpenMP] Implement TR8 `present` map type modifier in runtime (2/2)
authorJoel E. Denny <jdenny.ornl@gmail.com>
Wed, 22 Jul 2020 14:14:30 +0000 (10:14 -0400)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Wed, 22 Jul 2020 14:15:32 +0000 (10:15 -0400)
commit45b8f7ec35ef653bafdf48034857222517c17781
tree67ca4a6fe69bdb23d3154eb174834ab9a3f806ba
parentaa82c40f0a0a3f135e4761351940c3ad1a30fd8f
[OpenMP] Implement TR8 `present` map type modifier in runtime (2/2)

This implements OpenMP runtime support for the OpenMP TR8 `present`
map type modifier.  The previous patch in this series implements Clang
front end support.  See that patch summary for behaviors that are not
yet supported.

Reviewed By: grokos, jdoerfert

Differential Revision: https://reviews.llvm.org/D83062
12 files changed:
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 [new file with mode: 0644]
openmp/libomptarget/test/mapping/present/target_data.c [new file with mode: 0644]
openmp/libomptarget/test/mapping/present/target_enter_data.c [new file with mode: 0644]
openmp/libomptarget/test/mapping/present/target_exit_data.c [new file with mode: 0644]
openmp/libomptarget/test/mapping/present/unified_shared_memory.c [new file with mode: 0644]
openmp/libomptarget/test/mapping/present/zero_length_array_section.c [new file with mode: 0644]
openmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c [new file with mode: 0644]