ubuntu_install_rocm.sh 328 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/bash

set -e
set -u
set -o pipefail

7 8 9
# Install ROCm cross compilation toolchain.
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list
10
apt-get update && apt-get install -y rocm-dev