GPU Performance Portability Workshop 1

GPU Performance Portability Workshop 1

description

Presentation sessions will introduce GPU hardware and survey the current software landscape, before covering adapting algorithms for greater GPU-effectiveness, and an introduction to software architecture. The day is completed with a focussed ”Deep Dive” led by an experienced practitioner with real-world insights from porting their own codes, and a supervised exercise in porting code from CPUs to GPUs using a selection of programming languages.

Activities shift further towards hands-on learning, with continued mentor-led exercises and further “Deep Dive” sessions. Further presentations will cover performance monitoring and profiling, and both single-GPU and multi-GPU optimisation, as well as a review of other available GPU training packages. You’ll also have access to drop-in code clinics, where Research Software Engineers will offer tailored advice and guidance, whether you’re interested in refining existing code or planning the first steps towards GPU migration for your project.

Day 1 Programme

15-SEP 09:00-17:00 GMT

SessionTimeActivitySpeaker
Morning session10amStart of Day
Introduction, software & hardware landscape, GPU programming recap
Afternoon session1pmLunch
2pmProfiling, performance and optimisation
PROMPI Code Deep DiveRaphael Hirschi
Close5pmEnd of Day

Day 1 Programme

16-SEP 09:00-17:00 GMT

SessionTimeActivitySpeaker
Morning session:9amStart of Day
Profiling and optimisation exercises
CETRA Code Deep DiveLeigh Smith
1pmLunch
Afternoon session: 2pmMulti-GPU parallelisation
Code Deep DivePeter Boyle
5pmEnd of Day

Day 1 Programme

17-SEP 09:00-15:00 GMT

SessionTimeActivitySpeaker
Morning session: 9amStart of Day
Multi-GPU exercises & further resources
JAX Code Deep diveJames Nightingale
1pmLunch
Afternoon session: 2pmCode clinic & feedback session
3pmEnd of Day

SUGGESTED RESOURCES

This is an intermediate level workshop so you will get the most from it if you have programmed a GPU before, however we will be quickly recapping basic GPU programming. If you have never programmed a GPU before, we recommend starting with DiRAC’s Many Ways course.

Then, if you are interested in participating in the workshop with C++, we recommend being comfortable with the material in sections 2.1.1 – 2.1.9 of NVIDIA’s C++ Programming Guide. You may find Mark Harris’ Even Easier Introduction to CUDA a smoother introduction to CUDA than the programming guide. If you prefer video, Tim Warburton’s Introduction to GPU Architecture and Programming Models is a good resource, although it is now fairly old.

Alternatively, if you expect to participate in the workshop with Fortran, we recommend becoming familiar with OpenMP target offloading, at least the target directive and data directive. The Many Ways course mentioned above features a section on OpenMP offloading to NVIDIA GPUs and DiRAC’s OpenMP for GPUs.

We will also be exploring multi-GPU codes with MPI so some familiarity with MPI will be beneficial. DiRAC’s Introduction to MPI can provide a quick introduction to the essential concepts.