[Openmp-commits] [openmp] [OpenMP][NFC] Move mapping related code into OpenMP/Mapping.cpp (PR #75239)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 12 12:16:42 PST 2023


================
@@ -53,19 +53,6 @@ struct DeviceTy {
 
   bool HasMappedGlobalData = false;
 
-  /// Host data to device map type with a wrapper key indirection that allows
-  /// concurrent modification of the entries without invalidating the underlying
-  /// entries.
-  using HostDataToTargetListTy =
-      std::set<HostDataToTargetMapKeyTy, std::less<>>;
-
-  /// The HDTTMap is a protected object that can only be accessed by one thread
-  /// at a time.
-  ProtectedObj<HostDataToTargetListTy> HostDataToTargetMap;
-
-  /// The type used to access the HDTT map.
-  using HDTTMapAccessorTy = decltype(HostDataToTargetMap)::AccessorTy;
-
   PendingCtorsDtorsPerLibrary PendingCtorsDtors;
 
   std::mutex PendingGlobalsMtx;
----------------
jhuber6 wrote:

These are unused and only kept around for backwards compatibility with existing binaries.

https://github.com/llvm/llvm-project/pull/75239


More information about the Openmp-commits mailing list