[Openmp-commits] [PATCH] D105767: [OpenMP] Simplify variable sharing and increase shared memory size

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 10 19:32:35 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu:156
+  if (nArgs <= NUM_SHARED_VARIABLES_IN_SHARED_MEM) {
+    _SharedMemVariableSharingSpacePtr = &_SharedMemVariableSharingSpace[0];
+  } else {
----------------
but I don't like the name…Starting with `_` is not a typical LLVM name.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105767



More information about the Openmp-commits mailing list