cuda drivers and newer kernel

hi to all,
I’m new in cuda and I wanna know what I am supposed to do in case I put a newer kernel in debian.
Do I need to launch a tool to recompile the kernel module, or I gotta download back the .run file?
Thank you in advance

Yes, that is the simples way.
If you have kept the .run file from the driver installation, you can just re-run it after you have booted into the new kernel. This will trigger a module recompilation if necessary. If you don’t have it anymore, yes, download it again.