Praktikum GPU-Computing

  • Typ: Praktikum
  • Semester: SS 2012
  • Zeit:

    50.34 Raum 148

  • Dozent:


  • SWS: 4
  • LVNr.: 24909

Exploiting the vast horse power of contemporary GPUs for general purpose applications has become a must for any realtime or interactive application nowadays. Current computer games use the GPUs not only for rendering graphics, but also for collision detection, physics, or artificial intelligence. General purpose computing on GPUs (GPGPU) has also penetrated the field of scientific computing enabling realtime experience of large scale fluid simulations, medical visualization, or signal processing.

This lecture introduces the concepts of programming graphics cards for non-graphical applications, such as data sorting, image filtering (e.g. denoising, sharpening), or physically based simulations. During the course, students familiarize themselves with the architecture of the current GPUs and develop parallel programming skills using the OpenCL and CUDA language.

The practical assignments will cover the following topics:

  • The architecture of contemporary GPUs (execution model, memory model, etc.)
  • Introduction to the OpenCL programming language
  • Reduction, scanning, and sorting parallel algorithms
  • Image filtering via separable convolution kernels
  • Physics simulation (cloth simulation using particles and springs)
  • Introduction to optimization and profiling on the GPU


Course materials
Introduction     GPU Computing
Assignment 1     Introduction
    Deadline:  May 2, 2012, 14:00
    Topics:  Setting up OpenCL context, device, and command queue with two simple tasks: sum of two arrays, rotation of a matrix.
Assignment 2     Data-parallel Algorithms
    Deadline:  May 23, 2012, 14:00
    Evaluation:  May 30, 2012, 14:00
    Topics:  Parallel reduction and parallel prefix sum (scan).
Assignment 3     Image Convolution
    Deadline:  June 6, 2012, 14:00
    Topics:  Discrete non-separable and separable convolution and bilateral filtering.
Assignment 4     Physics Simulations
    Deadline:  June 27, 2012, 14:00
    Topics:  A particle system in a force field with collision detection, and a cloth simulation using a spring model and constraint relaxation.
Assignment 5     Free-style
    Proposal:  July 4, 2012, 14:00
    Deadline:  July 25, 2012, 14:00
    Topics:  Chosen individually.