Changes

Jump to: navigation, search

GPU621/GPU Targeters

5 bytes added, 18:49, 3 December 2020
Instructions for AMD
To install AOMP compiler on ubuntu:
https://github.com/ROCm-Developer-Tools/aomp/blob/master/docs/UBUNTUINSTALL.md
 
 
AOMP will install to /usr/lib/aomp. The AOMP environment variable will automatically be set to the install location. This may require a new terminal to be launched to see the change.
On Ubuntu 18.04 LTS (bionic beaver), run these commands:
<pre>
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_Ubuntu1804_11.11-2_amd64.deb
sudo dpkg -i aomp_Ubuntu1804_11.11-2_amd64.deb
On Ubuntu 16.04, run these commands: wget https:<//github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_Ubuntu1604_11.11-2_amd64.debsudo dpkg -i aomp_Ubuntu1604_11.11-2_amd64.debThe AOMP bin directory (which includes the standard clang and llvm binaries) is not intended to be in your PATH for typical operation.pre>
'''Prerequisites'''
AMD KFD Driver
These commands are for supported Debian-based systems and target only the rock_dkms core component. More information can be found HERE.
<pre>
echo 'SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", GROUP="video"' | sudo tee /etc/udev/rules.d/70-kfd.rules
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
sudo reboot
sudo usermod -a -G video $USER
</pre>
 
'''ALTERNATIVELY'''
 
You may also decide to install full ROCm (Radeon Open Compute) driver package, before installing AOMP package:
 
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
 
 
 
 
More AOMP documentation:
 
https://rocmdocs.amd.com/en/latest/Programming_Guides/aomp.html
== Programming GPUs with OpenMP ==
51
edits

Navigation menu