mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
[NFC][docs] Add AMDGPU documentation for LIBOMPTARGET_STACK_SIZE
Add documentation w.r.t. changes by #72606, which allows to set the dynamic callstack size.
This commit is contained in:
@@ -820,6 +820,8 @@ supported for the ``amdgcn`` target.
|
||||
that reach other lanes or by explicitly constructing the scratch buffer descriptor,
|
||||
triggers undefined behavior when it modifies the scratch values of other lanes.
|
||||
The compiler may assume that such modifications do not occur.
|
||||
When using code object V5 ``LIBOMPTARGET_STACK_SIZE`` may be used to provide the
|
||||
private segment size in bytes, for cases where a dynamic stack is used.
|
||||
|
||||
**Constant 32-bit**
|
||||
*TODO*
|
||||
|
||||
@@ -1016,9 +1016,9 @@ default. The solution is to add an explicit map clause in the target region.
|
||||
LIBOMPTARGET_STACK_SIZE
|
||||
"""""""""""""""""""""""
|
||||
|
||||
This environment variable sets the stack size in bytes for the CUDA plugin. This
|
||||
can be used to increase or decrease the standard amount of memory reserved for
|
||||
each thread's stack.
|
||||
This environment variable sets the stack size in bytes for the AMDGPU and CUDA
|
||||
plugins. This can be used to increase or decrease the standard amount of memory
|
||||
reserved for each thread's stack.
|
||||
|
||||
LIBOMPTARGET_HEAP_SIZE
|
||||
"""""""""""""""""""""""
|
||||
|
||||
Reference in New Issue
Block a user