ACENET Summer School - GPGPU

This workshop presents an introduction to using CUDA to harness the power of an Nvidia graphics card. We will cover the essential basics required to write, compile, run and monitor a program.

Prerequisites

  • An Alliance account
  • Basic C knowledge
  • Basic Linux command line competence

Schedule

Setup Download files required for the lesson
09:30 1. Introduction What is a GPU, and why do we use them?
What is CUDA?
09:45 2. Hello World How to compile and run Hello World
10:05 3. Adding Two Integers How does GPU memory work?
10:35 4. Adding vectors with GPU threads How can we parallelize code on a GPU?
11:00 5. Using blocks instead of threads What is the difference between blocks and threads?
Is one faster than the other?
11:30 6. Putting It All Together How do blocks and threads work together?
What other GPU programming resources are there?
12:00 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.