Online
June 10 - 13, 2024
9:00 - 13:00 CEST
Instructors: Alessio Sclocco, Johan Hidding, Leon Oostrum
Some adblockers block the registration window. If you do not see the registration box below, please check your adblocker settings.
The eScience Center offers a range of workshops and training courses, aimed at PhD candidates and other researchers or research software engineers. We organize workshops covering digital skills needed to put reproducible research into practice. These include online collaboration, reproducible code and good programming practices. We also offer more advanced workshops such as GPU Programming, Parallel Programming, Image Processing and Deep Learning.
From deep learning to high-performance computing, Graphics Processing Units (GPUs) are nowadays an important tool for scholars and research software engineers alike. Parallel in nature, they offer incredible computing capabilities that just a few years ago were only available in supercomputers. While using GPUs to accelerate computation becomes easier year after year, obtaining high performance from these devices still requires some knowledge of how they work, and the programming model on which they are based.
In this workshop we will provide the learners with the fundamental knowledge that they need to start their journey into the world of programming GPUs. After a brief introduction to the specificities of GPUs, and how they differ from traditional processors, participants will experience various ways of using them with Python. They will get familiar with libraries such as CuPy and Numba to accelerate Python code, and have first-hand experience in writing small CUDA programs that can run directly on the GPU.
The participant should:
Preferred:
Where: This training will take place online. The instructors will provide you with the information you will need to connect to this meeting.
When: June 10 - 13, 2024, 9:00 - 13:00 CEST.
Requirements: Participants must have access to a computer with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).
Accessibility: We are dedicated to providing a positive and accessible learning environment for all. Please notify the instructors in advance of the workshop if you require any accommodations or if there is anything we can do to make this workshop more accessible to you.
Workshop files: You will find all slides, notebooks, archived collaborative documents, and other relevant files in the files folder of the workshop website repository after the workshop.
Contact: Please email or training@esciencecenter.nl for more information.
Participants are expected to follow these guidelines:
| 09:00 | Welcome and icebreaker |
| 09:15 | Introduction |
| 09:30 | Convolve an image with a kernel on a GPU using CuPy |
| 10:30 | Coffee break |
| 10:45 | Running CPU/GPU agnostic code using CuPy |
| 11:15 | Coffee break |
| 11:30 | Image processing example with CuPy |
| 12:30 | Wrap-up |
| 13:00 | END |
| 09:00 | Welcome and icebreaker |
| 09:30 | Image processing example with CuPy |
| 10:30 | Coffee break |
| 10:45 | Run your Python code on a GPU using Numba |
| 11:45 | Coffee break |
| 12:00 | Run your Python code on a GPU using Numba |
| 12:45 | Wrap-up |
| 13:00 | END |
| 09:00 | Welcome and icebreaker |
| 09:15 | Introduction to CUDA |
| 10:15 | Coffee break |
| 10:30 | CUDA memories and their use |
| 11:15 | Coffee break |
| 11:30 | CUDA memories and their use |
| 12:30 | Wrap-up |
| 13:00 | END |
| 09:00 | Welcome and icebreaker |
| 09:30 | Data sharing and synchronization |
| 10:30 | Coffee break |
| 10:15 | Data sharing and synchronization |
| 11:00 | Coffee break |
| 11:15 | Concurrent access to the GPU |
| 12:15 | Wrap-up |
| 13:00 | END |
All times in the schedule are in the CEST timezone.
To participate in this workshop, you will need access to software as described below. In addition, you will need an up-to-date web browser.
We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.
We will teach GPU programming using the Jupyter Notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
In particular, for this workshop we are using the infrastructure of JupyterHub for Education kindly provided by SURF in the framework of the EuroCC project. Google Colab may be used as an alternative.
If you haven't used Zoom before, go to the official website to download and install the Zoom client for your computer.
Like other Carpentries workshops, you will be learning by "coding along" with the Instructors. To do this, you will need to have both the window for the tool you will be learning about (a terminal, RStudio, your web browser, etc..) and the window for the Zoom video conference client open. In order to see both at once, we recommend using one of the following set up options: