Redistributing CUDA code


I have created a CUDA library of all my code (cu code and kernels). I would like to run my program, which is a C++ code that uses my CUDA library code, on another computer without installing CUDA toolkit. How can I do this?

Thanks a lot

Compiled program will run on every computer with compatible device and driver version, there’s no need to redistribute CUDA toolkit.

You will need CUDA toolkit only if you wish to distribute your CUDA library in source code, not precompiled.