Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is CUDA hardware needed at compile time?

Tags:

c++

c

cuda

gpu

Is installed CUDA capable graphics card necessary (in Linux) for compiling CUDA programs with nvcc? Or one can compile programs everywhere and run only on such systems?

like image 967
Cartesius00 Avatar asked Jan 02 '12 17:01

Cartesius00


1 Answers

No, a graphics card is not necessary for compilation.

You don't even need one to run the program; you can have it emulated in software.

UPDATE Ok, apparently, SW emulation hasn't been supported since CUDA 3.0.

like image 108
Oliver Charlesworth Avatar answered Oct 21 '22 04:10

Oliver Charlesworth