You need to log in to make submissions.
Please read the general instructions for this exercise first. Here are the additional instructions specific to this task:
Implement a simple sequential baseline solution. Do not try to use any form of parallelism yet; try to make it work correctly first. Please do all arithmetic with double-precision floating point numbers.
For this initial exercise, we have disabled auto-vectorization.
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/1||1,004,000,000||nx = 1000, ny = 1000|
|the input contains 1000 × 1000 pixels, and the output should contain 1000 × 1000 pixels|
|benchmarks/2||16,016,000,000||nx = 1000, ny = 4000|
|the input contains 4000 × 1000 pixels, and the output should contain 4000 × 4000 pixels|
Here “operations” is our rough estimate of how many useful arithmetic operations you will at least need to perform in this benchmark, but of course this will depend on exactly what kind of an algorithm you are using.
In this task your submission will be graded using benchmarks/2: the input contains 4000 × 1000 pixels, and the output should contain 4000 × 4000 pixels.
The point thresholds are as follows. If you submit your solution no later than on Sunday, 30 April 2023, at 23:59:59 (Helsinki), your score will be:
|≤ 20.000 sec||1|
|≤ 16.000 sec||2|
|≤ 12.000 sec||3|
|≤ 10.000 sec||4|
|≤ 9.000 sec||5|
If you submit your solution after the deadline, but before the course ends on Sunday, 04 June 2023, at 23:59:59 (Helsinki), your score will be:
|≤ 20.000 sec||1|
|≤ 11.000 sec||2|
|≤ 9.000 sec||3|