SWDEV-460816 - Merge PR#3475 and PR#3435 to Gerrit staging

Change-Id: Ie94897bac6e1cd44826988117ca6bb20ba2c2614
This commit is contained in:
Julia Jiang
2024-05-07 15:52:14 -04:00
committed by Julia Jiang
parent 7cef8f916c
commit d592b826ba
28 changed files with 1083 additions and 594 deletions
+8 -5
View File
@@ -5,22 +5,25 @@ Build HIP from source
Prerequisites
=================================================
HIP code can be developed either on AMD ROCm platform using HIP-Clang compiler, or a CUDA platform with nvcc installed.
Before build and run HIP, make sure drivers and pre-build packages are installed properly on the platform.
HIP code can be developed either on AMD ROCm platform using HIP-Clang compiler, or a CUDA platform with ``nvcc`` installed.
Before building and running HIP, make sure drivers and prebuilt packages are installed properly on the platform.
You also need to install Python 3, which includes the CppHeaderParser package.
Install Python 3 using the command:
You also need to install Python 3, which includes the ``CppHeaderParser`` package.
Install Python 3 using the following command:
.. code:: shell
apt-get install python3
Check and install CppHeaderParser package using the command:
Check and install ``CppHeaderParser`` package using the command:
.. code:: shell
pip3 install CppHeaderParser
.. _Building the HIP runtime:
Building the HIP runtime
==========================================================
+2 -2
View File
@@ -38,8 +38,8 @@ Installation
HIP is automatically installed during the ROCm installation. If you haven't yet installed ROCm, you
can find installation instructions here:
* :doc:`rocm-install-on-linux:reference/system-requirements`
* :doc:`rocm-install-on-windows:reference/system-requirements`
* :doc:`rocm-install-on-linux:index`
* :doc:`rocm-install-on-windows:index`
By default, HIP is installed into ``/opt/rocm/hip``.