Parallel Programming for HPC     Agenda     Registration     About

A Primer on CUDA

Instructor bio


As a complement to the GPU programming tools explored in previous sessions, this session will offer an overview of CUDA, its syntax, and how to use CUDA to write your own GPU kernels.

Learning objectives

Participants will get a general sense of CUDA syntax and use-cases for writing CUDA kernels.

Knowledge prerequisites

No previous experience with CUDA or GPU programming in general is required. However, programming experience with C, C++, or Fortran is expected. Prior exposure to parallel programming methodologies, though not strictly required, is also helpful.

Hardware/software prerequisites

Participants in any PICSciE virtual workshop need a Princeton Zoom account. For this session, users should also have an account on the Adroit cluster, and they should confirm that they can SSH into Adroit at least 48 hours beforehand. Details on all of the above can be found in the advance setup guide for PICSciE virtual workshops.

Session format

Lecture, demonstration, and hands-on exercises

Session Materials

Session Recording

Download the slides