Sunday, 25 August 2013

does nvcc always work as gcc when there is no CUDA elements in the code?

does nvcc always work as gcc when there is no CUDA elements in the code?

I am on Ubuntu 12.04 LTS and have installed CUDA 5.5. I understand that
without any CUDA/GPGPU elements in the code, nvcc behaves as a C/C++
compiler -- more like gcc, however is there any exception to this rule ?
if not, then can I use nvcc as gcc for non-CUDA C/C++ codes ?

No comments:

Post a Comment