Removed linking with cuda libraries.
Removed further Cuda references, such as CuDevicePtr and Cufunction.