Parallel Functional Programming – Lab C: “GPU Programming”DAT280 / DIT261, LP4 2016
Home | Schedule | Labs | Lectures | Exam | AboutFire | Forum | TimeEdit | Links
Parallel Functional Programming – Lab C: “GPU Programming”DAT280 / DIT261, LP4 2016
Home | Schedule | Labs | Lectures | Exam | AboutFire | Forum | TimeEdit | Links

(When you are done, please submit your solution using the Fire system)

In this lab assignment, you will get experience of parallel programming, first in CUDA and then in Obsidian (which generates CUDA). The exercises are associated with Joel Svensson’s lecture on May 19th 2016.

Note: Please make sure you follow the submission guidelines when you write your code.


Submit the answers to all the exercises provided by Joel: Obsidian Lab

You are provided with two files as templates that you can edit: cuda_template.cu and ObsLab.hs. Note that you must use a GPU than runs CUDA (that is one from NVIDIA). You may already have one in your laptop or desktop. If you do, please use your own machine. We will shortly provide instructions for running on a GPU instance in Amazon Web Services EC2. (We will run a single GPU instance continuously, and you will have to share it, and be careful to check if someone is already running on it.)


Submission

This lab has two deadlines:

Before you submit your code, Clean It Up! Remember, submitting clean code is Really Important, and simply the polite thing to do. After you feel you are done, spend some time on cleaning your code; make it simpler, remove unneccessary things, etc. We will reject your solution if it is not clean. Clean code:

When you are done, please submit using the Fire system.

Good luck!