Can't build a cuda programm

Hi all!

I wrote a programm which is using cuda. If there is an cuda device on the system, the programm take the cuda algorithm otherwise it take the CPU-Solution.

Now, I want test the programm on a system which has no cuda device. But, I can’t build it? What is the problem? The project includes the toolkit. But, is it required to install the cuda-driver only for the build process?

A simple yes or no is enough.

best regards

Yes, the toolkit is enough. You can even run the code using the emulation mode (but it will be extremely slow though).

(I think if you use the util library you’ll need the SDK too, but definitely no driver.)

If you use cutil in your own project, I will breathe fire at you.