Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(12 pts) Assume that we are considering enhancing a machine by adding a vector mode to it. When a computation is run in vector mode
(12 pts) Assume that we are considering enhancing a machine by adding a vector mode to it. When a computation is run in vector mode it is 20 times faster than the normal mode of execution. We call the percentage of time that could be spent using vector mode the percentage of vectorization. Use Amdahl's Law of Executionlime.d Execution limenew Overal!Speedup = Fracti0nMenhanced Speedupenhanced 1-Fractio to: a. Draw a graph that plots the speedup as a percentage of the computation performed in vector mode. Label the y axis "Net speedup" in units from 0 to 20 and label the x axis "Percentage of vectorization" in units from 0 to 100% What percentage of vectorization is needed to achieve a speedup of 2? What percentage of vectorization is needed to achieve a speedup of 10? (one half the maximum attainable from using vector mode). What does this tell us about whether vector mode is a wise investment? Suppose you have measured the percentage of vectorization of benchmark programs to be 70%. The hardware design group says they can double the speed of the vector rate to 40 times faster with a significant additional engineering investment. You wonder whether the compiler group could find a way to increase the use of vector mode as another approach to increasing performance. How much of an increase in the percentage of vectorization (relative to current usage) would you need to obtain the same performance gain as the 40x hardware approach? b. c. d
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started