diff --git a/add-rocm.sh b/add-rocm.sh index aefa5fa..0587416 100755 --- a/add-rocm.sh +++ b/add-rocm.sh @@ -55,10 +55,16 @@ else KERNEL_VERSION=$(cat /sys/module/amdkfd/version) KERNEL_SRC_VERSION=$(cat /sys/module/amdkfd/srcversion) if [ "$KERNEL_VERSION" == "2.0.0" ]; then + # 1.7.137 if [ "$KERNEL_SRC_VERSION" == "13FF90CA7D6AC14290ADCFD" ] || [ "$KERNEL_SRC_VERSION" == "3A26446A606958428B1B870" ]; then download_repo http://repo.radeon.com/rocm/archive/apt_1.7.2.tar.bz2 - # E657186569CAA8D3E3727BA - 1.8.2 - # B9B5387F6B6FEA02D977638 - ?? + # 1.8.118 + elif [ "$KERNEL_SRC_VERSION" == "B9B5387F6B6FEA02D977638" ]; then + download_repo http://repo.radeon.com/rocm/archive/apt_1.8.0.tar.bz2 + # 1.8-151 -> 1.8.1 + # 1.8.192 + elif [ "$KERNEL_SRC_VERSION" == "E657186569CAA8D3E3727BA" ]; then + download_repo http://repo.radeon.com/rocm/archive/apt_1.8.2.tar.bz2 else add_repo http://repo.radeon.com/rocm/apt/debian/ fi