[Openmp-commits] [PATCH] D104555: [OpenMP][Offloading] Guard data movement from host to device with mapping table lock

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 18 11:03:16 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/src/device.h:181
+  void *getTargetPointer(void *HstPtrBegin, void *HstPtrBase, int64_t Size,
+                         map_var_info_t HstPtrName, bool &IsHostPtr,
+                         bool MoveData, bool IsImplicit, bool UpdateRefCount,
----------------
`IsHostPtr` will be removed later by changing the return type of this function to a data structure containing flags, iterator to the entry, etc., as shown in `D104382`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104555



More information about the Openmp-commits mailing list