[OpenMP] Implement TR8 `present` map type modifier in runtime (2/2)
authorJoel E. Denny <jdenny.ornl@gmail.com>
Wed, 22 Jul 2020 18:04:58 +0000 (14:04 -0400)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Wed, 22 Jul 2020 18:04:58 +0000 (14:04 -0400)
commit708752b2f6c55eec85accf4d67b9e9da5a08ddf1
tree3f23b09a34047dbe1585717097198e75e64b5518
parent6dbd4775bf7ab92befb6d359d3bdf82fee285462
[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]