[all-commits] [llvm/llvm-project] fd5853: [Libomptarget] Reduce shared memory stack size to ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 31 12:20:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd5853dae6b9a49c8fea0acdc91093e5acd1ca58
      https://github.com/llvm/llvm-project/commit/fd5853dae6b9a49c8fea0acdc91093e5acd1ca58
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt
    M openmp/libomptarget/DeviceRTL/src/State.cpp

  Log Message:
  -----------
  [Libomptarget] Reduce shared memory stack size to 512 and a message when it is exceeded

Reduces the shared memory size used for globalization to 512 bytes from
2048 to reduce the pressure on shared memory. This patch ado adds a
debug mesage to indicate when the shared memory was insufficient.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D118625


  Commit: ad0a306a3852a0f05c9192111cb370dd02fc9e6a
      https://github.com/llvm/llvm-project/commit/ad0a306a3852a0f05c9192111cb370dd02fc9e6a
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M openmp/docs/design/Runtimes.rst
    M openmp/libomptarget/src/omptarget.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Change error message on offloading failure to mention documentation

This patch changes the error message to instead mention the
documentation page for the debugging options provided by libomptarget
and the bitcode runtimes. Add some extra information to the documentation to
help users more quickly identify debugging resources.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D118626


Compare: https://github.com/llvm/llvm-project/compare/06fd721fe733...ad0a306a3852


More information about the All-commits mailing list