You might want to install cuda packages from:

http://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/

If you want to build with a specific cuda version you might want to tune debian/control
and build your own binary packages using debuild.

When nvcc complains about not supported gcc version, see this table:

https://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version
