Please following the process
1. First, add the ROCm repository (if you haven't already):
wget -qO - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
2. Update your package list:
sudo apt update
3. Install only the HIP compiler and development tools:
sudo apt install hip-base hip-doc
This should install the basic HIP tools without the full runtime that caused issues before.
4. After installation, add the HIP binaries to your PATH. Add this line to your ~/.bashrc file:
export PATH=$PATH:/opt/rocm/bin
5. Then, apply the changes:
source ~/.bashrc
6. Verify the installation:
hipcc --version
No comments:
Post a Comment