Introduction to GPU Programming with OpenACC: Difference between revisions

From HPC documentation portal
Dpu081 (talk | contribs)
No edit summary
Dpu081 (talk | contribs)
No edit summary
Line 48: Line 48:
'''III. Hands-on + discussion 13:00- 15:30'''
'''III. Hands-on + discussion 13:00- 15:30'''


===== Course material =====
===== '''Course material''' =====
See the course material here in the [https://documentation.sigma2.no/code_development/guides/converting_acc2omp/openacc2openmp.html documentation] and [https://arxiv.org/abs/2201.11811 pdf here]
See the course material here in the [https://documentation.sigma2.no/code_development/guides/converting_acc2omp/openacc2openmp.html documentation] and [https://arxiv.org/abs/2201.11811 pdf here]



Revision as of 10:40, 18 February 2022

About the course

The Scientific Computing group at the IT department (UiB) is offering a one day hands-on physical course for Introductory GPU Programming with OpenACC.

The course is designed for beginners in GPU-programming and who want to get familiar with available directives programming models with a special focus on the OpenACC offloading. The course does not require any basic knowledge in GPU-programming, but it is a requirement that the user has some basic programming experience with either Fortran or C. The course aims at providing an overview of the OpenACC model and guiding users towards its optimal use. The course will familiarise the users with the most needed constructs, clauses and runtime library routines via some practical numerical applications. The applications include solving partial differential equations, matrix multiplication, integration etc.

Prerequisites

The participants are expected to have

  • Basic programming experience with either Fortran or C
  • Basic Linux terminal experience

The course does not require any basic knowledge in GPU-programming

Expected Outcome of the course

By the end of this training course, the participants should be able to:

  • Recognise the necessity of GPU-programming.
  • Define different available programming models.
  • Get an overview of the GPU-architectures and compilers supporting OpenACC.
  • Determine the role of different constructs, clauses, and runtime library routines.
  • Compile and interpret the compiler flags and feedback messages.
  • Use appropriate constructs and clauses to offload compute regions to the GPU device.
  • Select and map regions of a code with the use of data locality concepts.
  • Implement OpenACC on simple numerical models.
  • Do code-profiling using NVIDIA Nsight Systems.

Registration

Please register here We have limited capacity of 30 participants. Registration closes on 24th March. The course is free of charge and is organised by the Scientific Computing group at UiB IT department.

Date & Time

29th March 2022 Tuesday 10:00 -15:30

Location

Media City Bergen, Seminar 2 (57702.110) Location map

Schedule

I General introduction 10:00-10:45

  • State-of-the-art supercomputers
  • Introduction to GPU-hardware
  • GPU-programming models and supports

Coffee break (10:45-11:00)

II Showcase: OpenACC and functionality 11:00 - 12:00

  • Synchronous OpenACC
  • Nsight Systems profiling
  • Asynchronous OpenACC

Lunch (12:00-13:00) Lunch will be served by the organisers

III. Hands-on + discussion 13:00- 15:30

Course material

See the course material here in the documentation and pdf here