Can CUDA be build without installing CUDA toolkit?


Is it possible to build a CUDA project in Visual Studio without installing the CUDA toolkit by simply copying the CUDA installation folder

I think the build won’t work because nvcc is not available. Is that correct?

Thank you

NVIDIA doesn’t provide any methods to make that work or support that. Certainly probably many things are “possible”.

Yes, based on your description, building a project would probably not invoke the nvcc compiler correctly.