[Openmp-commits] [PATCH] D118625: [Libomptarget] Reduce shared memory stack size to 512 and a message when it is exceeded

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 31 09:33:43 PST 2022


jdoerfert added a comment.

typo in the commit message.



================
Comment at: openmp/libomptarget/DeviceRTL/src/State.cpp:140
+  if (config::isDebugMode(config::DebugKind::CommonIssues))
+    PRINT("Insufficient shared stack memory.\n");
   void *GlobalMemory = memory::allocGlobal(
----------------
Be more explicit here, or, probably better, use a "runtime remark" `[OMPR1000] Shared memory stack full, fallback to dynamic allocation of global memory (=slow)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118625



More information about the Openmp-commits mailing list