Created
August 29, 2018 05:53
-
-
Save ontheklaud/00899ca4564c83907ae6ec372b39b369 to your computer and use it in GitHub Desktop.
Such a painful steps for Radeon Pro to get to work on CentOS 7.5
This file contains 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 | |
# Prerequisite | |
# OS: CentOS 7.5.1804 installation with 'minimal install' config | |
# 1. download most recent amdgpu-pro (currently 18.30) | |
# You can find binaries at: https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-18-30 (almost impossible to discover) | |
wget --referer http://support.amd.com https://www2.ati.com/drivers/linux/rhel7/amdgpu-pro-18.30-641594.tar.xz | |
tar -xf amdgpu-pro-18.30-641594.tar.xz | |
cd amdgpu-pro-18.30-641594 | |
# 2. install driver | |
./amdgpu-install --px --pro --opencl=legacy,pal | |
# 3. Test OpenCL functionality | |
/opt/amdgpu-pro/bin/clinfo | |
# However, this execution issues a kernel panic. To check stacktrace, | |
/opt/amdgpu-pro/bin/clinfo 2>&1 | tee clinfo_amd-status.log | |
# References | |
# https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-PRO-18.30 | |
# https://math.dartmouth.edu/~sarunas/amdgpu.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment