<s>
Nvidia	B-Application
CUDA	I-Application
Compiler	I-Application
(	O
NVCC	B-Application
)	O
is	O
a	O
proprietary	B-Application
compiler	B-Language
by	O
Nvidia	O
intended	O
for	O
use	O
with	O
CUDA	B-Architecture
.	O
</s>
<s>
CUDA	B-Architecture
code	O
runs	O
on	O
both	O
the	O
CPU	B-Device
and	O
GPU	B-Architecture
.	O
</s>
<s>
NVCC	B-Application
separates	O
these	O
two	O
parts	O
and	O
sends	O
host	O
code	O
(	O
the	O
part	O
of	O
code	O
which	O
will	O
be	O
run	O
on	O
the	O
CPU	B-Device
)	O
to	O
a	O
C	B-Language
compiler	B-Language
like	O
GCC	B-Application
or	O
Intel	B-Language
C++	I-Language
Compiler	I-Language
(	O
ICC	O
)	O
or	O
Microsoft	B-Application
Visual	I-Application
C++	I-Application
Compiler	B-Language
,	O
and	O
sends	O
the	O
device	O
code	O
(	O
the	O
part	O
which	O
will	O
run	O
on	O
the	O
GPU	B-Architecture
)	O
to	O
the	O
GPU	B-Architecture
.	O
</s>
<s>
The	O
device	O
code	O
is	O
further	O
compiled	B-Language
by	O
NVCC	B-Application
.	O
</s>
<s>
NVCC	B-Application
is	O
based	O
on	O
LLVM	B-Application
.	O
</s>
<s>
According	O
to	O
Nvidia	O
provided	O
documentation	O
,	O
nvcc	B-Application
in	O
version	O
7.0	O
supports	O
many	O
language	O
constructs	O
that	O
are	O
defined	O
by	O
the	O
C++11	B-Language
standard	O
and	O
a	O
few	O
C99	B-Language
features	O
as	O
well	O
.	O
</s>
<s>
In	O
version	O
9.0	O
several	O
more	O
constructs	O
from	O
the	O
C++14	B-Language
standard	O
are	O
supported	O
.	O
</s>
<s>
Any	O
source	O
file	O
containing	O
CUDA	B-Architecture
language	O
extensions	O
(	O
.cu	O
)	O
must	O
be	O
compiled	B-Language
with	O
nvcc	B-Application
.	O
</s>
<s>
NVCC	B-Application
is	O
a	O
compiler	B-Language
driver	O
which	O
works	O
by	O
invoking	O
all	O
the	O
necessary	O
tools	O
and	O
compilers	B-Language
like	O
cudacc	O
,	O
g++	B-Application
,	O
cl	O
,	O
etc	O
.	O
</s>
<s>
NVCC	B-Application
can	O
output	O
either	O
C	B-Language
code	O
(	O
CPU	B-Device
Code	O
)	O
that	O
must	O
then	O
be	O
compiled	B-Language
with	O
the	O
rest	O
of	O
the	O
application	O
using	O
another	O
tool	O
or	O
PTX	O
or	O
object	O
code	O
directly	O
.	O
</s>
<s>
An	O
executable	O
with	O
CUDA	B-Architecture
code	O
requires	O
:	O
the	O
CUDA	B-Architecture
core	O
library	O
(	O
cuda	B-Architecture
)	O
and	O
the	O
CUDA	B-Architecture
runtime	O
library	O
(	O
cudart	O
)	O
.	O
</s>
