File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -820,6 +820,8 @@ supported for the ``amdgcn`` target.
820
820
that reach other lanes or by explicitly constructing the scratch buffer descriptor,
821
821
triggers undefined behavior when it modifies the scratch values of other lanes.
822
822
The compiler may assume that such modifications do not occur.
823
+ When using code object V5 ``LIBOMPTARGET_STACK_SIZE`` may be used to provide the
824
+ private segment size in bytes, for cases where a dynamic stack is used.
823
825
824
826
**Constant 32-bit**
825
827
*TODO*
Original file line number Diff line number Diff line change @@ -1016,9 +1016,9 @@ default. The solution is to add an explicit map clause in the target region.
1016
1016
LIBOMPTARGET_STACK_SIZE
1017
1017
"""""""""""""""""""""""
1018
1018
1019
- This environment variable sets the stack size in bytes for the CUDA plugin. This
1020
- can be used to increase or decrease the standard amount of memory reserved for
1021
- each thread's stack.
1019
+ This environment variable sets the stack size in bytes for the AMDGPU and CUDA
1020
+ plugins. This can be used to increase or decrease the standard amount of memory
1021
+ reserved for each thread's stack.
1022
1022
1023
1023
LIBOMPTARGET_HEAP_SIZE
1024
1024
"""""""""""""""""""""""
You can’t perform that action at this time.
0 commit comments