Course details

Parallel Computations on GPU

PCG Acad. year 2022/2023 Winter semester 5 credits

The course covers the architecture and programming of graphics processing units by the NVidia and partially AMD. First, the architecture of GPUs is studied in detail. Then, the model of the program execution using hierarchical thread organisation and the SIMT model is discussed. Next, the memory hierarchy and synchronization techniques are described. After that, the course explains novel techniques of dynamic parallelism and data-flow processing concluded by practical usage of multi-GPU systems in environments with shared (NVLink) and distributed (MPI) memory. The second part of the course is devoted to high level programming techniques and libraries based on the OpenACC technology.


Course coordinator

Language of instruction



Examination (written)

Time span

  • 26 hrs lectures
  • 12 hrs pc labs
  • 14 hrs projects

Assessment points

  • 60 pts final exam (written part)
  • 10 pts mid-term test (written part)
  • 30 pts projects




Subject specific learning outcomes and competences

Knowledge of the parallel programming on GPUs in the area of general purpose computing, orientation in the area of accelerated systems, libraries and tools.  
Understanding of hardware limitations having impact on the efficiency of software solutions. 

Learning objectives

To familiarize yourself with the architecture and programming of graphics processing unit in the area of general purpose computuing using the NVidia libraries and OpenACC standard. To learn how to design and implement accelerated programs exploiting the potential of GPUs. To gain knowledge about the available libraries for programming on GPUs.

Why is the course taught

The future of computation systems ranging from ordinary PC up to top supercomputers is seen in heterogeneous systems where the sequential parts and the logic is processed by CPUs while the computational parts are offload to accelerators, in this case GPUs. This course will teach you the architecture and software libraries for programming graphics processing units in the area of general purpose computations. 

Prerequisite knowledge and skills

Knowledge gained in courses AVS and partially in PRL and PPP.

Study literature

  • aktuální PPT prezentace přednášek
  • Dokumentace Nvidia:
  • Dokumentace OpenACC:
  • Sanders, J., & Kandrot, E: CUDA by Example: An Introduction to General-Purpose GPU Programming. Review Literature And Arts Of The Americas. Addison-Wesley, 2010.
  • Chandrasekaran, S., and Juckeland, G.: OpenACC for Programmers: Concepts and Strategies,  Addison-Wesley Professional, 2017, ISBN 978-0134694283

Syllabus of lectures

  1. Architecture of graphics processing units.
  2. CUDA programming model, tread execution.
  3. CUDA memory hierarchy.
  4. Synchronization and reduction.
  5. Dynamic parallelism and unified memory.
  6. Design and optimization of GPU algorithms.
  7. Stream processing, computation-communication overlapping.
  8. Multi-GPU systems.
  9. Nvidia Thrust library.
  10. OpenACC basics.
  11. OpenACC memory management.
  12. Code optimization with OpenACC.
  13. Libraries and tools for GPU programming.

Syllabus of computer exercises

  1. CUDA: Memory transfers, simple kernels
  2. CUDA: Shared memory
  3. CUDA: Texture and constant memory
  4. CUDA: Dynamic parallelism and unified memory.
  5. OpenACC: basic techniques.
  6. OpenACC: advanced techniques.

Syllabus - others, projects and individual work of students

  • Development of an application in Nvidia CUDA
  • Development of an application in OpenACC

Progress assessment

Assessment of two projects, 14 hours in total and, computer laboratories and a midterm examination.

Controlled instruction

  • Missed labs can be substituted in alternative dates.
  • There will be a place for missed labs in the last week of the semester.

Exam prerequisites

To get 20 out of 40 points for projects and midterm examination.


Tue exam 2023-01-24 L321 11:0012:501. oprava
Wed exam 2022-12-21 E104 10:0011:50Předtermín zkoušky
Wed lecture 1., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13. of lectures A112 10:0011:509999 1MIT 2MIT NHPC xx Jaroš
Wed exam 2022-11-09 A112 11:0011:50Půlsemestrální test
Wed comp.lab 4., 5., 7., 8., 10., 11. of lectures O204 12:0013:5020 1MIT 2MIT xx Olšák
Wed exam 2023-01-11 L321 14:0015:50řádná
Thu exam 2023-02-02 A113 14:0015:502. oprava
Fri comp.lab 4., 5., 7., 8., 10., 11. of lectures O204 08:0009:5020 1MIT 2MIT xx Olšák

Course inclusion in study plans

Back to top