I\'ve been trying to use the CUDA driver API to load a .ptx file and a function from it with this code:
CUdevice device; cuDeviceGet(&device,0); CUcontext ct
Those errors occur when you are not linking against cuda.lib.
cuda.lib