[PATCH] D141545: [OpenMP] Implement `omp_get_mapped_ptr`

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 14:45:33 PST 2023


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/src/api.cpp:355
+  bool IsHostPtr = false;
+  auto &Device = *PM->Devices[DeviceNum];
+  TargetPointerResultTy TPR =
----------------
jdoerfert wrote:
> And this needs to be (shared) locked too. 
> 
> @carlo.bertolli will fix these up consistently (see also above).
Yeah, they will be needed fixed consistently.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141545



More information about the cfe-commits mailing list