[Openmp-commits] [PATCH] D90519: [Libomptarget][NFC] Encapsulate Global Libomptarget State

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Nov 1 10:17:28 PST 2020


JonChesterfield added inline comments.


================
Comment at: openmp/libomptarget/src/rtl.cpp:34
 
-RTLsTy *RTLs;
-std::mutex *RTLsMtx;
-
-HostEntriesBeginToTransTableTy *HostEntriesBeginToTransTable;
-std::mutex *TrlTblMtx;
-
-HostPtrToTableMapTy *HostPtrToTableMap;
-std::mutex *TblMapMtx;
+PluginManager *PM;
 
----------------
JonChesterfield wrote:
> I might have g
> I might have g
*one with a global instance by value, instead of heap allocation, but this is better if we can later drop the singleton.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90519



More information about the Openmp-commits mailing list