Is it possible to install openCL on 16.04 (CPU-Only)? I tried many guides, but still do not get a working box. I have a sandy-bridge second gen CPU, if this matters.
|
install packetsGeneric ubuntu packages for OpenCLBasic installation
Package that allows to compile OpenCL code (1.2 I think)Needed to link and compile
For Intel GT corePackage that enables runnig openCL on Intel GT, IvyBridge and up
For SandyBridge Intel CPU and possible othersDownload this file OpenCL™ Runtime 16.1.1 for Intel® Core™ and Intel® Xeon® Processors for Ubuntu* (64-bit) On https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_SDK_release Install packages for turning rpm to deb
Untar downloaded file
Create a vendors dir and add intel.icd
test if this workedCommand to list your devices
Dowload this file Run this code to make sure everything works
For Nvidiainstall nvidia drivers (I used 370), this should include all the runtime dirvers Usefull linkes I have used to put this togetherhttps://wiki.tiker.net/OpenCLHowTo http://korniychuk.org.ua/instruction/how-to-use-opencl-on-ubuntu-16-04/ https://laanwj.github.io/2016/05/06/opencl-ubuntu1604.html https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_SDK_release https://software.intel.com/en-us/forums/opencl/topic/285869 https://streamcomputing.eu/blog/2011-06-24/install-opencl-on-debianubuntu-orderly/ https://software.intel.com/en-us/forums/opencl/topic/390630 https://stackoverflow.com/questions/16977216/opencl-compile-on-linux |
|||||
|
|
As per Intel's support site, OpenCL is not supported on 2nd gen (Sandy Bridge) Core processors. You will need a 3rd gen (Ivy Bridge) or newer CPU to use OpenCL 1.2, or a 7th gen (Kaby Lake) to have the option to use OpenCL 2.0 with the Intel GPU (I am not sure what is currently supported in the drivers available for Linux). |
|||||
|