Created
April 16, 2019 20:13
-
-
Save dac73/e87801d5bddae15c1576301338d7464c to your computer and use it in GitHub Desktop.
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
It's quiet easily hackable if you only need opencl support. There is no need to install the complete driver. Download the latest AMDGPU-PRO driver and extract the whole package. From the extracted packages you need to put the following files in specific folders ( /opt/amdgpu-pro in my example) : | |
/opt/amdgpu-pro/share/libdrm/amdgpu.ids | |
/opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0 | |
/opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl64.so | |
/opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl12cl64.so | |
Additionally you need to link: | |
libdrm_amdgpu.so.1 -> libdrm_amdgpu.so.1.0.0 | |
Start your application from a terminal with | |
LD_LIBRARY_PATH=/opt/amdgpu-pro/lib/x86_64-linux-gnu ./yourapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment