Last active
September 6, 2017 23:53
-
-
Save daveselinger/512c072d79008901e3e2fc6d031604a9 to your computer and use it in GitHub Desktop.
Installing OpenCL, OpenVX, and hopefully theano on Intel HD500 with J3355 Celeron
This file contains hidden or 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
# FIRST Install Ubuntu 16.04.3 (Installed desktop version) | |
sudo apt purge -y libreoffice* | |
sudo apt update | |
sudo apt upgrade | |
# NEXT Download the Ubuntu prerequisites (listed at the bottom here: https://software.intel.com/en-us/cvsdk-quickstartguide-installing-intel-computer-vision-sdk) | |
sudo apt install -y libpng12-dev libcairo2-dev libpango1.0-dev libglib2.0-dev libgtk2.0-dev libgstreamer0.10-dev libgstreamer1.0-dev libswscale-dev libavcodec-dev libavformat-dev | |
# NEXT Install OpenCL from the Intel script: https://software.intel.com/en-us/articles/sdk-for-opencl-gsg | |
cd ~/Downloads | |
wget https://software.intel.com/sites/default/files/managed/f6/77/install_OCL_driver.sh_.txt | |
mv install_OCL_driver.sh_.txt install_OCL_driver.sh | |
chmod 755 install_OCL_driver.sh | |
sudo -i ~ubuntu/Downloads/install_OCL_driver.sh install | |
# NEXT install the intel SDK prerequisites | |
cd ~/Downloads | |
wget https://software.intel.com/sites/default/files/managed/3c/eb/install_SDK_prereq_ubuntu.sh_.txt | |
mv install_SDK_prereq_ubuntu.sh_.txt install_SDK_prereq_ubuntu.sh | |
chmod 755 install_SDK_prereq_ubuntu.sh | |
sudo -i ~ubuntu/Downloads/install_SDK_prereq_ubuntu.sh | |
# NEXT Modify GRUB per the output of the install instructions. | |
# 2. If you have Intel Pentium J4000 or Intel Celeron J3000, you will need to add: | |
# i915.preliminary_hw_support=1 | |
# to the 4.7 kernel command line, in order to enable OpenCL functionality for these platforms. | |
sudo vi /etc/default/grub | |
sudo update-grub | |
# NEXT Add current user to the video group | |
sudo usermod -a -G video $USER | |
exit | |
# log back in!! | |
cd ~/Downloads | |
# NEXT install OpenVX from Intel https://software.intel.com/en-us/cvsdk-quickstartguide-installing-intel-computer-vision-sdk | |
# an alternative is here. but we are going to use the Intel implementation https://github.com/rgiduthuri/openvx_tutorial | |
# Download the intel cv package: https://software.seek.intel.com/computer-vision-software | |
# then unzip and run it | |
tar xf intel_cv_sdk_ubuntu_r2_2017.0.113.tgz | |
cd intel_cv_sdk_ubuntu_r2_2017.0.113/ | |
sudo ./install.sh | |
# download deep learning training tool: https://software.seek.intel.com/deep-learning-software | |
# FINALLY Validate install using OpenVX Tutorial: https://software.intel.com/en-us/articles/sdk-for-opencl-gsg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment