Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you have a list of 12 numbers (considering there are no zeros in the list) and your (CO1 (PO27 workstation has 4 processing

Suppose you have a list of 12 numbers (considering there are no zeros in the list) and your (CO1 (PO27

Suppose you have a list of 12 numbers (considering there are no zeros in the list) and your (CO1 (PO27 workstation has 4 processing cores. Now, consider the following three scenarios: Scenario I: You divide the list of numbers in 3 parts. For the first part, you have to find their summation and for those in the second, you have to find their product. For the third part, you must divide the first half by the second half. Finally, you have to find the difference between the summation and the product and divide the result by the quotient of the third part. Scenario II: You have to find the difference between the summation and the product of all the numbers in the list. Scenario III: Consider that the scenario I is repeated for a different list of numbers. However, the number of cores in your workstation reduced to 2 due to malfunctioning in one of the 4 cores. Now answer the following questions: 1. jn. How will you utilize all the processing cores in scenarios I and II? Explain separately. What is meant by task parallelism and data parallelism? What type of parallelism will you implement in scenarios I and II? Elaborate on your answer with suitable diagrams. Considering Scenario III, what will be the reduction in the computation speed compared to Scenario I? Explain mathematically using Amdahl's law.

Step by Step Solution

3.39 Rating (186 Votes )

There are 3 Steps involved in it

Step: 1

Step 1 Solution i In scenario I where the workstation has 4 processing cores we can utilize task parallelism to divide the computation among the cores Heres how we can distribute the tasks Divide the ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Analytics Data Analysis And Decision Making

Authors: S. Christian Albright, Wayne L. Winston

6th Edition

1305947541, 978-1337225274, 1337225274, 978-0357689066, 978-1305947542

More Books

Students also viewed these Programming questions