I downloaded the latest intel_sdk_for_opencl for Ubuntu(16.04), and I ran the install.sh. No warnings or errors.
Then how do I know I installed correctly? I was hoping there were some c++ sample codes I could directly compile and run in the terminal, but the sample code pages seem to provide segments of code instead of the whole cpp files...
Thanks for any feedback.
If you haven't already, you will need to install a driver package first. https://software.intel.com/en-us/articles/opencl-drivers
For Ubuntu 16.04, your options are one of the Linux standalone releases or a generic install of Media Server Studio community edition.
There is a system analyzer you can use to check if OpenCL components are working correctly: https://software.intel.com/en-us/articles/mss-sys-analyzer-linux
The Linux samples package here has code you can compile and test. There are more examples in the article/example list here: https://software.intel.com/en-us/forums/opencl/topic/706888
It's not an Intel tool, but for Linux I like to check that everything is working by using "clinfo". It's a simple utility that enumerates the installed OpenCL platforms and devices on your system.
On Ubuntu you can install it with: sudo apt-get install clinfo
Or, you can get the source code here: https://github.com/Oblomov/clinfo