Skip to content

Commit ec3ccf1

Browse files
harkgill-amdneon60
authored andcommitted
Add HIPCC_VERBOSE documentation
1 parent da51a8f commit ec3ccf1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

amd/hipcc/docs/env.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,15 @@ Additional environment variable controls:
2020
* ``CUDA_PATH`` : Path to the CUDA SDK. The default is ``/usr/local/cuda``. This is only used for NVIDIA platforms.
2121
* ``HIPCC_COMPILE_FLAGS_APPEND`` : Append extra flags as compilation options to ``hipcc``.
2222
* ``HIPCC_LINK_FLAGS_APPEND`` : Append extra flags as linking options to ``hipcc``.
23+
* ``HIPCC_VERBOSE`` : Outputs detailed information on subcommands executed during compilation.
24+
25+
- ``HIPCC_VERBOSE = 1``: Displays the command to ``clang++`` or ``nvcc`` with all options (`hipcc-cmd`).
26+
- ``HIPCC_VERBOSE = 2``: Displays all relevant environment variables and their values.
27+
- ``HIPCC_VERBOSE = 4``: Displays only the arguments passed to the ``hipcc`` command (`hipcc_args`).
28+
- ``HIPCC_VERBOSE = 5``: Displays both the command to ``clang++`` or ``nvcc`` and ``hipcc`` arguments (`hipcc-cmd` and `hipcc-args`).
29+
- ``HIPCC_VERBOSE = 6``: Displays all relevant environment variables and their values, along with the arguments to the ``hipcc`` command.
30+
- ``HIPCC_VERBOSE = 7``: Displays all of the above: `hipcc-cmd`, `hipcc-args`, and environment variables.
31+
32+
33+
34+

0 commit comments

Comments
 (0)