[Openmp-commits] [PATCH] D110180: [OpenMP] Add support for changing stack size in device RTL

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 21 08:36:23 PDT 2021


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tianshilei1992.
Herald added subscribers: guansong, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

This patch adds support for using dynamic shared memory in the stack
using the sized introduced in D110108 <https://reviews.llvm.org/D110108>. This allows dynamic shared memory
to be scaled in the runtime and statically removed by DCE when the size
is zero.

Depends on D110108 <https://reviews.llvm.org/D110108>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110180

Files:
  openmp/libomptarget/DeviceRTL/include/Interface.h
  openmp/libomptarget/DeviceRTL/include/State.h
  openmp/libomptarget/DeviceRTL/src/Kernel.cpp
  openmp/libomptarget/DeviceRTL/src/State.cpp
  openmp/libomptarget/deviceRTLs/common/include/target.h
  openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
  openmp/libomptarget/deviceRTLs/interface.h
  openmp/libomptarget/plugins/cuda/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110180.373946.patch
Type: text/x-patch
Size: 9761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210921/0bd20f4e/attachment-0001.bin>


More information about the Openmp-commits mailing list