2025-09-24 18:57:00 +02:00
The following table lists environment variables that are useful but relate to
different features in HIP.
.. _hip-env-other:
.. list-table ::
:header-rows: 1
:widths: 35,14,51
* - **Environment variable**
- **Default value**
- **Value**
* - | ``HIPRTC_COMPILE_OPTIONS_APPEND``
| Sets compile options needed for ``hiprtc`` compilation.
- Unset by default.
- ``--gpu-architecture=gfx906:sramecc+:xnack`` , ``-fgpu-rdc``
* - | ``AMD_COMGR_SAVE_TEMPS``
2025-10-29 07:42:06 +01:00
| Controls the deletion of temporary files generated during the compilation of Comgr. These files do not appear in the current working directory, but are instead left in a platform-specific temporary directory.
2025-09-24 18:57:00 +02:00
- Unset by default.
- | 0: Temporary files are deleted automatically.
| Non zero integer: Turn off the temporary files deletion.
* - | ``AMD_COMGR_EMIT_VERBOSE_LOGS``
2025-10-29 07:42:06 +01:00
| Sets logging of Comgr to include additional Comgr-specific informational messages.
2025-09-24 18:57:00 +02:00
- Unset by default.
- | 0: Verbose log disabled.
| Non zero integer: Verbose log enabled.
* - | ``AMD_COMGR_REDIRECT_LOGS``
2025-10-29 07:42:06 +01:00
| Controls redirect logs of Comgr.
2025-09-24 18:57:00 +02:00
- Unset by default.
- | `stdout` / `-` : Redirected to the standard output.
| `stderr` : Redirected to the error stream.