Is CUDA hardware needed at compile time?

前端 未结 1 960
执笔经年
执笔经年 2021-01-17 16:28

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

1条回答
  •  不要未来只要你来
    2021-01-17 17:24

    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.

    0 讨论(0)
提交回复
热议问题