[Openmp-commits] [PATCH] D90519: [Libomptarget][NFC] Move global Libomptarget state to a struct

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 28 18:35:30 PST 2020


ye-luo 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;
 
----------------
Lack of documentation for PM. Is it a singleton? Should be mentioned.


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