Last active
September 20, 2017 15:42
-
-
Save kusayuzayushko/f06118a24f30298897b405202ff8dcdb to your computer and use it in GitHub Desktop.
rocm-install.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add - | |
sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list' | |
sudo apt-get update -y | |
sudo apt-get install rocm -y | |
sudo sed 's/nk=0/nk=0 amdgpu.vm_fragment_size=9 /' -i /etc/default/grub | |
sudo update-grub | |
wget http://188.226.134.202:8000/oc_dpm2.sh | sudo chmod +x oc_dpm2.sh && sudo cp oc_dpm2.sh /root/utils/ | |
echo "------------------------------------" | |
echo "looks good, now run sudo reboot" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment