Code: NIE-GPU |
GPU Architectures and Programming |
Lecturer: doc. Ing. Ivan Šimeček Ph.D. |
Weekly load: 2P+1C |
Completion: A, EX |
Department: 18104 |
Credits: 5 |
Semester: S |
- Description:
-
Students will gain knowledge of the internal architecture of modern massively parallel GPU processors. They will learn to program them mainly in the CUDA programming environment, which is already a widespread programming technology of GPU processors. As an integral part of the effective computational use of these hierarchical computational structures, students will also learn optimization programming techniques and methods of programming multiprocessor GPU systems.
- Contents:
-
1. GPU microarchitecture.
2. (3) Programming language CUDA.
3. Fundamental parallel operations (reduction and prefix sum).
4. Methods of synchronization of threads and thread blocks.
5. Optimization I: General source code optimizations.
6. Optimization II: Architecture SIMT, sdruˇzen´y access to the shared memory.
7. Optimization III: Architecture memory subsystem.
8. Cooperation of multiple GPUs.
9. Asynchronous GPU computations.
10. Case studies of GPU programs. Development and debugging of GPU applications.
11. HPC libraries and other APIs for GPGPU.
- Seminar contents:
-
1) Introduction to the environment, assignment of term papers
2) Submission of sequential implementation
3) Compilation of GPU code, involvement of libraries
4) Working with code debugging tools and profiling tools
5) consultation on GPU implementation
6) submission of GPU implementation, credit
- Recommended literature:
-
1. Kirk, D. B. : Programming Massively Parallel Processors (3rd Edition). Morgan Kaufmann, 2016. ISBN 978-0128119860.
2. Cheng , F. - Grossman, M. - McKercher, T. : Professional CUDA C Programming (1st Edition). Wrox, 2014. ISBN 978-1118739327.
3. Cook, S. : CUDA Programming: A Developer?s Guide to Parallel Computing with GPUs (1st Edition). Morgan Kaufmann, 2012. ISBN 978-0124159334.
- Keywords:
- CUDA, GPGPU, graphics accelerators, OpenCL, OpenACC
Abbreviations used:
Semester:
- W ... winter semester (usually October - February)
- S ... spring semester (usually March - June)
- W,S ... both semesters
Mode of completion of the course:
- A ... Assessment (no grade is given to this course but credits are awarded. You will receive only P (Passed) of F (Failed) and number of credits)
- GA ... Graded Assessment (a grade is awarded for this course)
- EX ... Examination (a grade is awarded for this course)
- A, EX ... Examination (the award of Assessment is a precondition for taking the Examination in the given subject, a grade is awarded for this course)
Weekly load (hours per week):
- P ... lecture
- C ... seminar
- L ... laboratory
- R ... proseminar
- S ... seminar