Jump to content

Nvidia CUDA Compiler

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mnafshin (talk | contribs) at 01:22, 8 December 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Nvidia C Compiler

NVCC is Nvidia's CUDA C 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

  1. David B. Kirk, and Wen-mei W. Hwu. Programming massively parallel processors: a hands-on approach. Morgan Kaufmann, 2010.