This patch implements the function omp_get_mapped_ptr.
Fix #59945.
| Paths 
 |  Differential  D141545  
[OpenMP] Implement `omp_get_mapped_ptr` ClosedPublic Authored by tianshilei1992 on Jan 11 2023, 1:34 PM. 
Details 
 Summary This patch implements the function omp_get_mapped_ptr. Fix #59945. 
Diff Detail 
 Event TimelineComment Actions Fix the initial device case. Use a shared lock if we can already. Otherwise, it'll wait for @carlo.bertolli. LG 
 This revision is now accepted and ready to land.Jan 11 2023, 2:15 PM 
 This revision was landed with ongoing or failed builds.Jan 11 2023, 7:05 PM Closed by commit rG6e18277a5118: [OpenMP] Implement `omp_get_mapped_ptr` (authored by tianshilei1992).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 488367 openmp/libomptarget/src/api.cpp
 openmp/libomptarget/src/exports
 openmp/libomptarget/test/api/omp_get_mapped_ptr.c
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||