SWDEV-479940 - Make correction in hip build instructions

Change-Id: I10e883c61739a120637a7cac5d50025bc9c59cac


[ROCm/hip commit: 1d50b9aa2c]
Этот коммит содержится в:
Julia Jiang
2024-10-21 17:08:53 -04:00
родитель 3aa1aefe3d
Коммит 47a90973fe
+4 -4
Просмотреть файл
@@ -92,15 +92,15 @@ Set the repository branch using the variable: ``ROCM_BRANCH``. For example, for
.. note::
Note, if you don't specify ``CMAKE_INSTALL_PREFIX``, the HIP runtime is installed at
``<ROCM_PATH>/hip``.
``<ROCM_PATH>``.
By default, release version of HIP is built. If need debug version, you can put the option ``CMAKE_BUILD_TYPE=Debug`` in the command line.
Default paths and environment variables:
* HIP is installed into ``<ROCM_PATH>/hip``. This can be overridden by setting the ``HIP_PATH``
* HIP is installed into ``<ROCM_PATH>``. This can be overridden by setting the ``INSTALL_PREFIX`` as the command option.
environment variable.
* HSA is in ``<ROCM_PATH>/hsa``. This can be overridden by setting the ``HSA_PATH``
* HSA is in ``<ROCM_PATH>``. This can be overridden by setting the ``HSA_PATH``
environment variable.
* Clang is in ``<ROCM_PATH>/llvm/bin``. This can be overridden by setting the
``HIP_CLANG_PATH`` environment variable.
@@ -110,7 +110,7 @@ Set the repository branch using the variable: ``ROCM_BRANCH``. For example, for
use the tools.
* Optionally, you can set ``HIPCC_VERBOSE=7`` to output the command line for compilation.
After you run the ``make install`` command, make sure ``HIP_PATH`` points to ``$PWD/install/hip``.
After you run the ``make install`` command, HIP is installed to ``<ROCM_PATH>`` by default, or ``$PWD/install/hip`` while ``INSTALL_PREFIX`` is defined.
#. Generate a profiling header after adding/changing a HIP API.