Changes

Jump to: navigation, search

GPU621/GPU Targeters

1,425 bytes added, 17:41, 3 December 2020
Instructions for AMD
https://github.com/ROCm-Developer-Tools/aomp
 
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:
 
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.deb
sudo dpkg -i aomp_Ubuntu1604_11.11-2_amd64.deb
The AOMP bin directory (which includes the standard clang and llvm binaries) is not intended to be in your PATH for typical operation.
 
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.
 
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 -
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
sudo apt install rock-dkms
 
sudo reboot
sudo usermod -a -G video $USER
== Programming GPUs with OpenMP ==
51
edits

Navigation menu