Author: 312551015 Sean Wei
Spec: https://pp-f23.github.io/assignments/HW2/
Due date: Tue, Nov 14, 23:59
Question 1
produce a graph of speedup compared to the reference sequential implementation as a function of the number of threads used FOR VIEW 1.
Is speedup linear in the number of threads used?
In your writeup hypothesize why this is (or is not) the case?
(You may also wish to produce a graph for VIEW 2 to help you come up with a good answer.
Sean Wei changed a year agoEdit mode Like Bookmark
Author: 312551015 Sean Wei
Spec: https://pp-f23.github.io/assignments/HW1/
Due date: Thu, Oct 26, 23:59
Question 1-1
Does the vector utilization increase, decrease or stay the same as VECTOR_WIDTH changes? Why?
Run ./myexp -s 10000 and sweep the vector width from 2, 4, 8, to 16. Record the resulting vector utilization. You can do this by changing the #define VECTOR_WIDTH value in def.h.
In my experiment, when size is set to 10,000:
Sean Wei changed a year agoEdit mode Like Bookmark