Skip to content

Install OpenCL

Michel Steuwer edited this page May 4, 2014 · 7 revisions

There are multiple options to install an OpenCL runtime depending on the available hardware. It is also possible to have multiple OpenCL runtimes installed simultaneously.

AMD

The AMD OpenCL runtime supports 32 and 64bit x86 CPUs from all vendors as well as GPUs by AMD. To install the OpenCL runtime for AMD GPUs first install the Catalyst GPU driver.

To install the OpenCL runtime for CPUs install the AMD APP SDK.

On Linux, after the installation check if the environment variables are set properly:
echo $AMDAPPSDKROOT should show /opt/AMDAPP and
echo $LD_LIBRARY_PATH should include the directories /opt/AMDAPP/lib/x86_64:/opt/AMDAPP/lib/x86.

If this is not the case set the variables manually in your ~/.bashrc file as follows:
export AMDAPPSDKROOT=/opt/AMDAPP
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/AMDAPP/lib/x86_64:/opt/AMDAPP/lib/x86

Intel

https://software.intel.com/en-us/vcsource/tools/opencl-sdk

Nvidia

https://developer.nvidia.com/cuda-zone

You can’t perform that action at this time.