Mastering the following topics will serve as an entry point for the exercises. They set themselves the objective of introducing students into the problematics and outlining the subsequent work on the exercises.
Discussed Topics:
- Introduction to parallel programming on GPU, a brief history, CUDA
- CUDA architecture and its integration within standard C++ project
- Threads and kernel functions
- CUDA memories, patterns and usage
- Memory bank conflicts
- Program execution control, distribution of an algorithm
- Algorithm performance with respect to its parallelization on GPU
- Optimization on the data level, effective data structures.
- Optimization of programs with respect to the maximum GPU performance
- Support library CUBLAS
- The Case study
Practical exercises will follow on the above mentioned topics, which will expand on the practical level of programming.
- The first application in CUDA
- Data transfers to/from GPU
- Threads hierarchy, basic thread life cycle, limits, calling of kernel functions, parameters and restrictions
- CUDA memories, patterns and usage
- Memory bank conflicts, access optimization, suitable data structures
- Streams, parallel calling of kernel functions, synchronization on several levels
- The case study, experiment with more variants of the same program
- Vectors and matrices, the case study, large data processing, parallel reduction
- Introduction to several support libraries for linear algebra
- The case study, image manipulation, double buffering, optimization at the level of blocks, registers, etc.
- The case study, Interesting research topics, outline of possible Solutions, experiments
- Program tuning, debugging with nVidia nSight