diff options
Diffstat (limited to 'openmp/docs/design/Runtimes.rst')
-rw-r--r-- | openmp/docs/design/Runtimes.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openmp/docs/design/Runtimes.rst b/openmp/docs/design/Runtimes.rst index 98f47bc1c632..1402192581d3 100644 --- a/openmp/docs/design/Runtimes.rst +++ b/openmp/docs/design/Runtimes.rst @@ -1160,6 +1160,7 @@ There are several environment variables to change the behavior of the plugins: * ``LIBOMPTARGET_AMDGPU_TEAMS_PER_CU`` * ``LIBOMPTARGET_AMDGPU_MAX_ASYNC_COPY_BYTES`` * ``LIBOMPTARGET_AMDGPU_NUM_INITIAL_HSA_SIGNALS`` +* ``LIBOMPTARGET_AMDGPU_STREAM_BUSYWAIT`` The environment variables ``LIBOMPTARGET_SHARED_MEMORY_SIZE``, ``LIBOMPTARGET_STACK_SIZE`` and ``LIBOMPTARGET_HEAP_SIZE`` are described in @@ -1238,6 +1239,14 @@ managing several pre-created signals. These signals are mainly used by AMDGPU streams. More HSA signals will be created dynamically throughout the execution if needed. The default value is ``64``. +LIBOMPTARGET_AMDGPU_STREAM_BUSYWAIT +""""""""""""""""""""""""""""""""""" + +This environment variable controls the timeout hint in microseconds for the +HSA wait state within the AMDGPU plugin. For the duration of this value +the HSA runtime may busy wait. This can reduce overall latency. +The default value is ``2000000``. + .. _remote_offloading_plugin: Remote Offloading Plugin: |