YARP
Yet Another Robot Platform
cuda/cuda_gpu.cpp

Example showing how to use the CUDA driver to execute custom code onto nVidia graphics cards (for supported cards, try to search on Google something like "cuda supported gpu")