A Web Developer's Diary

OpenCL on Ubuntu 12.10 with Intel CPU

5/4/2013

5 Comments

 
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:
http://developer.amd.com/wordpress/media/files/AMD-APP-SDK-v2.8.1.0-lnx32.tgz
Or for 64 bit platforms:
http://developer.amd.com/wordpress/media/files/AMD-APP-SDK-v2.8.1.0-lnx64.tgz
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!
5 Comments

    Author

    Blog about random challenges of a web developer.

    Archives

    April 2015
    May 2013
    January 2013
    July 2012
    June 2012

    Categories

    All
    Aws
    Cdn
    Code Igniter
    Css
    H2database
    Jamp
    Java
    Javascript
    Magento
    Maven
    Mysql
    Opencl
    Php
    Play-framework
    Quercus
    Scala
    Ubuntu

    RSS Feed

Powered by Create your own unique website with customizable templates.