If you are trying to get some test scripts running on Ubuntu 12.10 and you can't get the Intel SDK to work, here's a handy tip. Go over to the AMD website and download their AMD APP SDK. As long as your CPU supports SSE, the AMD SDK will provide you with OpenCL capabilities on any processor.
I was having trouble getting Intel's SDK to work, as well as their open source variant Beignet. Both versions did not reckognize any OpenCL platforms or devices. I am on a Intel Core I5 CPU with Intel HD Graphics 4000 (it's a shame I can't use that on Ubuntu yet, though I am happy to be running sample code now :-)).
For your convenience, here are the steps to download and install OpenCL on Ubuntu:
First, download the SDK. At the time of writing, the newest version is version 2.8.1.0. For 32 bit platforms:
First, download the SDK. At the time of writing, the newest version is version 2.8.1.0. For 32 bit platforms:
Or for 64 bit platforms:
Extract the file you just downloaded and run the installer:
$ tar -xzvf AMD-APP-SDK-v2.8*-lnx*.tgz
$ sudo ./Install-AMD-APP.sh
As a final step reboot your computer and then you should be able to run OpenCL applications on Ubuntu.
Update August 19th, 2013: updated AMD APP SDK download links from version 2.8 to version 2.8.1.0 and updated recommended download method, thanks to Jacek for pointing that out!