CUDA toolkit - http://developer.nvidia.com/cuda-downloads
http://www.nvidia.com/content/devzone/index.html
CUDA FOR LINUX
1) Download Toolkit for your system
2) Download Drivers for your system
******************************************************************************
Installing OpenCL on Ubuntu Linux with NVIDIA graphics card
Download the CUDA toolkit for Ubuntu from NVIDIAs CUDA site. Open a terminal an run the installation file with the command:
Download the Developer Drivers for Linux at the same website and install it by first stopping X, running the file and start X again. Do stop X use:
(lightdm)
Then get a terminal up by pressing CTRL+ALT+F5, login and navigate to where you downloaded the devdriver then type:
After the driver has been installed start x again by typing
Before compiling an OpenCL application you need to add the path to the lib folder of CUDA to LD_LIBRARY_PATH like so:
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
******************************************************************************
Reference: http://www.thebigblob.com/getting-started-with-opencl-and-gpu-computing/
http://www.streamcomputing.eu/blog/2011-12-29/opencl-hardware-support/
OpenCL hardware support
http://askubuntu.com/questions/131506/how-can-i-get-nvidia-cuda-or-opencl-working-on-a-laptop-with-nvidia-discrete-car
vim /etc/bash.bashrc
#include
or
sudo cp -r /usr/local/cuda/include/CL /usr/include