mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-28 10:23:49 +08:00
db0642ec47
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
15 lines
405 B
Bash
Executable File
15 lines
405 B
Bash
Executable File
#!/bin/bash
|
|
rm amdgpu-install_5.5.50500-1_all.deb
|
|
wget https://repo.radeon.com/amdgpu-install/5.5/ubuntu/$(lsb_release -cs)/amdgpu-install_5.5.50500-1_all.deb
|
|
sudo dpkg -i amdgpu-install_5.5.50500-1_all.deb
|
|
sudo apt-get update
|
|
|
|
# kernel driver
|
|
sudo apt-get install amdgpu-dkms
|
|
|
|
# for opencl
|
|
sudo apt-get install rocm-opencl-runtime
|
|
|
|
# for HIP
|
|
sudo apt-get install hip-runtime-amd rocm-device-libs hip-dev
|