Skip to content

Instantly share code, notes, and snippets.

Last active Dec 27, 2016
What would you like to do?
llvm/OpenCL setup
wget -q -O - | sudo apt-key add -
sudo add-apt-repository -y "deb llvm-toolchain-trusty-3.9 main"
sudo apt-get update
sudo apt-get install clang-3.9
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 10
sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-3.9 10
#install POCL deps
# sudo apt-get install libhwloc-dev
# but POCL doesn't suppor discrete GPUs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment