I wonder whether you could compile CUDA applications into windows dlls. The reason being, I would like to share some given function (say a bitonic sort) among various callers or among various modules in a system without having to recompile it with the rest of the code everytime.
If it is possible what is the way to do it? (I noticed a “lib” option in nvcc command line, but that is not really a dll, is it?)