Question: 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?
 6.19 In future systems, we expect to see heterogeneous computing platforms

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!