Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6 . 1 9 In future systems, we expect to see heterogeneous computing platforms constructed out of heterogeneous CPUs. We have begun to see some

6.19 In future systems, we expect to see heterogeneous computing platforms
constructed out of heterogeneous CPUs. We have begun to see some appear in the
embedded processing market in systems that contain both floating-point DSPs and
microcontroller CPUs in a multichip module package.
Assume that you have three classes of CPU:
CPU A-A moderate-speed multi-core CPU (with a floating-point unit) that can
execute multiple instructions per cycle.
CPU B-A fast single-core integer CPU (i.e., no floating-point unit) that can
execute a single instruction per cycle.
CPU C-A slow vector CPU (with floating-point capability) that can execute
multiple copies of the same instruction per cycle.
Assume that our processors run at the following frequencies:
CPU A can execute two instructions per cycle, CPU B can execute one
instruction per cycle, and CPU C can execute eight instructions (through the
same instruction) per cycle. Assume all operations can complete execution in a
single cycle of latency without any hazards.
All three CPUs have the ability to perform integer arithmetic, though CPU B
cannot perform floating point arithmetic. CPU A and B have an instruction set
similar to a LEGv8 processor. CPU C can only perform floating point add and
subtract operations, as well as memory loads and stores. Assume all CPUs have
access to shared memory and that synchronization has zero cost.
The task at hand is to compare two matrices x and Y that each contain 10241024
floating-point elements. The output should be a count of the number of indices
where the value in x was larger or equal to the value in Y.
6.19.1[10]$6.11> Describe how you would partition the problem on the three
different CPUs to obtain the best performance.
6.19.2[10]$6.11> What kind of instruction would you add to the vector CPU
C to obtain better performance?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions

Question

What is the preferred personality?

Answered: 1 week ago