From 04ac24c7ac976e28fe00a5a29515a58e511e8919 Mon Sep 17 00:00:00 2001 From: Aidan Belton-Schure Date: Thu, 21 Nov 2024 16:39:29 +0000 Subject: [PATCH] SWDEV-481102 - Update install docs Change-Id: Ib73867259538374420a2f7bdf4958dc461761b84 [ROCm/hip commit: 58a132446df191e6b2940a03b56b2d87c308940a] --- projects/hip/docs/install/install.rst | 35 +++++++++++++++++++++------ 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/projects/hip/docs/install/install.rst b/projects/hip/docs/install/install.rst index f65fa99800..afacee1258 100644 --- a/projects/hip/docs/install/install.rst +++ b/projects/hip/docs/install/install.rst @@ -49,16 +49,31 @@ Installation .. tab-item:: NVIDIA :sync: nvidia - #. Install the NVIDIA driver. + #. Install the NVIDIA toolkit. - .. code-block:: shell - - sudo apt-get install ubuntu-drivers-common && sudo ubuntu-drivers autoinstall - sudo reboot - - Alternatively, you can download the latest + The latest release can be found here: `CUDA Toolkit `_. + #. Setup the radeon repo. + + .. code-block::shell + + # Replace url with appropriate link in the table below + wget https://repo.radeon.com/amdgpu-install/6.2/distro/version_name/amdgpu-install_6.2.60200-1_all.deb + sudo apt install ./amdgpu-install_6.2.60200-1_all.deb + sudo apt update + + .. list-table:: amdgpu-install links + :widths: 25 100 + :header-rows: 1 + + * - Ubuntu version + - URL + * - 24.04 + - https://repo.radeon.com/amdgpu-install/6.2.4/ubuntu/noble/amdgpu-install_6.2.60204-1_all.deb + * - 22.04 + - https://repo.radeon.com/amdgpu-install/6.2.4/ubuntu/jammy/amdgpu-install_6.2.60204-1_all.deb + #. Install the ``hip-runtime-nvidia`` and ``hip-dev`` packages. This installs the CUDA SDK and HIP porting layer. @@ -70,7 +85,11 @@ Installation * CUDA SDK: ``/usr/local/cuda`` * HIP: ``/opt/rocm/hip`` - You can optionally add ``/opt/rocm/bin`` to your path, which can make it easier to use the tools. + #. Set the HIP_PLATFORM to nvidia. + + .. code-block:: shell + + export HIP_PLATFORM="nvidia" Verify your installation ==========================================================