aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-09-17 14:53:58 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2021-09-17 21:25:36 -0400
commitf1c821fa850b5168e0cc120f2497ac54d8ad325b (patch)
tree7c42aa54059c04312ec0b01493fc3b98302488ff /llvm/lib/CodeGen/StackProtector.cpp
parentec02c34b6df1efc643e5889bf3f181d55c4fed38 (diff)
downloadllvm-f1c821fa850b5168e0cc120f2497ac54d8ad325b.zip
llvm-f1c821fa850b5168e0cc120f2497ac54d8ad325b.tar.gz
llvm-f1c821fa850b5168e0cc120f2497ac54d8ad325b.tar.bz2
[OpenMP] Add support for dynamic shared memory in new RTL
This patch adds support for using dynamic shared memory in the new device runtime. The new function `__kmpc_get_dynamic_shared` will return a pointer to the buffer of dynamic shared memory. Currently the amount of memory allocated is set by an environment variable. In the future this amount will be added to the amount used for the smart stack which will be configured in a similar way. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D110006
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions