Once these are installed, you'll need to perform a few more steps to be able to compile and run OpenCL outside of the NVIDIA SDK.ġ) The CUDA toolkit will have included the OpenCL headers (Listed at ), likely they are in the directory /usr/local/cuda/include/CL. You can download them from, and just put it in /usr/local/cuda/include/CL an you desktop. Strangely, they are not included with CUDA Toolkit, but in case you use C++, they could make your code much more redable.
This includes various NVIDIA specific support tools, as well as OpenCL code samples.Īll three of these items may be found at.
INTEL OPENCL DRIVER UBUNTU INSTALL
Install this to the default location.ģ) The GPU Computing SDK (optional). This includes the headers necessary to compile OpenCL code. OpenCL libaries are shipped with driver, so to just run OpenCL programs driver should be enough.Ģ) The CUDA toolkit. The same drivers installed through the restricted drivers manager.
Unless you have explicit need for currentĭrivers, you should stick with the ones packaged with Ubuntu. Old, but they should still work just fine. The drivers packaged with Ubuntu are somewhat To compile and run OpenCL code under Linux, you'll need four things:ġ) An NVIDIA Driver which supports OpenCL.