Table of Contents

SD1.2.6 GPU Programming with CUDA C/C++ Programming Fundamentals

NVIDIA GPUs can be programmed by using CUDA as an extension to the C/C++ programming languages. NVIDIA provides an entire CUDA software environment which includes compilers, profilers, libraries and more. CUDA allows programmers to write highly parallel compute kernels for the execution on NVIDIA GPUs. In order to write CUDA kernels that can utilize the GPU, an understanding of their architecture and its mapping to the CUDA language extension is required.

Learning objectives

* Understand the CUDA thread hierarchy:

* Understand the nature of unified memory:

* Be able to execute kernels concurrently via streams:

* Be able to query the status of a GPU & potential CUDA errors that occur during program execution

Maintainer

Subskills