Programming Parallel Computers

Open 2025

I8MM4: GPU baseline ★

You need to log in to make submissions.

What you will need to do in this task

Please read the general instructions for this exercise first. Here are the additional instructions specific to this task:

Implement a GPU baseline solution.

What I will try to do with your code

I will first run all kinds of tests to see that your code works correctly. You can try it out locally by running ./grading test, but please note that your code has to compile and work correctly not only on your own computer but also on our machines.

If all is fine, I will run the benchmarks. You can try it out on your own computer by running ./grading benchmark, but of course the precise running time on your own computer might be different from the performance on our grading hardware.

Benchmarks

Name Parameters
benchmarks/1a k = 1000, m = 1000, n = 1000
multiply a 1000 × 1000 matrix with a 1000 × 1000 matrix for a 1000 × 1000 result.
benchmarks/1b k = 1003, m = 999, n = 1001
multiply a 999 × 1003 matrix with a 1003 × 1001 matrix for a 999 × 1001 result.
benchmarks/2 k = 6000, m = 6000, n = 6000
multiply a 6000 × 6000 matrix with a 6000 × 6000 matrix for a 6000 × 6000 result.

Grading

In this task your submission will be graded using benchmarks/2: multiply a 6000 × 6000 matrix with a 6000 × 6000 matrix for a 6000 × 6000 result..

The point thresholds are as follows. If you submit your solution no later than on Wednesday, 05 November 2025, at 23:59:59 (Helsinki), your score will be:

Running timePoints
≤ 8.000 sec 1
≤ 6.000 sec 2
≤ 4.000 sec 3

If you submit your solution after the deadline, but before the course ends on Wednesday, 31 December 2025, at 23:59:59 (Helsinki), your score will be:

Running timePoints
≤ 8.000 sec 1
≤ 6.000 sec 2
≤ 4.000 sec 3