Nvidia CUDA Compiler
Appearance
![]() | This article may require copy editing for Some verbs missing, unclear or even contradictory statements. (December 2012) |
Nvidia CUDA Compiler
NVCC is Nvidia's CUDA compiler. CUDA codes runs on both CPU and GPU, and NVCC seperate these two parts and send host code ( the part of code which will be run on CPU ) to a C compiler like GCC or ICC or Microsoft Visual C Compiler, and send the device code ( the part which will run on GPU) to GPU. By the way, the device code further compiled by NVCC.
References
- David B. Kirk, and Wen-mei W. Hwu. Programming massively parallel processors: a hands-on approach. Morgan Kaufmann, 2010.