[OpenMP] Implement `omp_get_mapped_ptr`
authorShilei Tian <i@tianshilei.me>
Thu, 12 Jan 2023 03:05:33 +0000 (22:05 -0500)
committerShilei Tian <i@tianshilei.me>
Thu, 12 Jan 2023 03:05:42 +0000 (22:05 -0500)
commit6e18277a51187ce8e861cdf0ab1395235e5b83d4
tree41ba35c4cc372c421495bee8014cb1664d50204f
parent80a7754c359e6d9db2c7ff32bfac5e9422af14ce
[OpenMP] Implement `omp_get_mapped_ptr`

This patch implements the function `omp_get_mapped_ptr`.

Fix #59945.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D141545
clang/docs/OpenMPSupport.rst
openmp/libomptarget/src/api.cpp
openmp/libomptarget/src/exports
openmp/libomptarget/test/api/omp_get_mapped_ptr.c [new file with mode: 0644]