Content

PGAP 2021 Day 2

Short course on conservation laws on GPUs day 2

Keywords: CUDA, Python, OpenCL, C++, Git, logging, measuring performance, parallel reductions, gpu architecture, ...

Description: In this series of lectures, you will learn how to solve simple conservation laws that simulate things such as acoustic waves and heat dissipation. This is a practically oriented course where the aim is that you work through tutorials and exercises, and you need to do the exercises to understand the concepts being presented. By the end of this course, you should have a Git repository with source code that you have written yourself.

The course is structured into the following five topics (todays topics hilighted):

  1. Introduction to GPU computing;
  2. Computing PI with CUDA;
  3. Best practices for scientific computing;
  4. Optimizing GPU performance;
  5. Physics simulation on GPUs.

Content

Introduction day two

Best practices

Slides

Introduction to Conservation Laws

Slides

Introduction to simulation on GPUs

Slides

Jupyter lab and Python intro

In this video, I go through how to run jupyter lab, and how to write simple commands in Python.

Jupyter lab and PyOpencl intro

In this video, I go through how to set up a simple OpenCL kernel. You can find more Python codes in my github account, for example the PythonIntro and PythonGPUTeaching

Homework, exercises, and further reading

Log In Page last modified on January 01, 2023, at 01:19 PM