nvcc does: NVIDIA's CUDA compiler that produces PTX and SASS

NVCC compiles CUDA code into PTX and SASS

Image: King of Hearts, CC BY-SA 3.0, via Wikimedia Commons

nvcc does: NVIDIA's CUDA compiler that produces PTX and SASS

NVCC compiles CUDA code into PTX and SASS

NVCC is a proprietary compiler developed by Nvidia specifically for CUDA programming. It translates CUDA code into PTX (Parallel Thread Execution) and SASS (Parallel Thread Execution Shader Assembly) formats, enabling execution on Nvidia GPUs.

Example

A developer writes a CUDA kernel in C++ and uses NVCC to compile it into PTX and SASS, which can then be executed on an Nvidia GPU.

Remember this

Understanding NVCC's role in compiling CUDA code is essential for developers working with Nvidia GPUs to leverage parallel computing capabilities.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath