[Openmp-commits] [PATCH] D111954: [OpenMP][Plugin] Introduce generic resource pool

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 27 08:32:50 PST 2021


ye-luo added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:565-566
 
+    for (auto &S : StreamPool)
+      S = nullptr;
+
----------------
Probabaly S.reset()  is more C++ way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111954



More information about the Openmp-commits mailing list