Update to Assignment 2

Update to Assignment 2

by Zurab Mujirishvili -
Number of replies: 1

Hi everyone,

We noticed that the task description has changed since yesterday. The parameterization for the benchmark in the first question was changed from N = int(1.5 * r) to N = int(1.5 ^ r). for r = 8 to 44. Those who have already written this task may want to rerun their benchmarks.

Best Regards,

In reply to Zurab Mujirishvili

Re: Update to Assignment 2

by Georg Hager -

Sorry about that; this was a copy-and-paste error, and it's basically Moodle's fault (OK it's my fault since I should have checked). Of course, int(1.5 * r) does not make sense as a loop length because all the problem sizes would be in the L1 cache. The whole point of the exercise is to make you produce a performance graph similar to what was shown in the lecture (last slide of lecture 05/06). For that, we need array lengths that span multiple orders of magnitude. The "weird" formula int(1.5^r) makes sure that the data points are equidistant if you plot them on a log-x scale.