Question

4.9 [10/20/20/15/15]<4.2> Consider the following code, which multiplies two vec- tors that contain single-precision complex v

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SOLUTION: The arithmetic intensity of the kernel is 1 In the given code, it reads 4 floats and writes 2 floats for every 6 FLThe VMIP assembly code for the loop using strip mining is shownbelow: 1i 1i ŞVL, 44 Şrl, 0 again mulvv. s $v2, a im+5r1 mulvvmulvv.s 1v lv subvv.S SV mulvv.s 1v mulvv.s lv addvv.s SV mulvv.S Therefore, there are 6 chimes are requiredHere, Load/store unit has a start-up overhead of 15 cycles Multiply unit has 8 cycles Add/subtract unit has 5 cycles Total cy

Add a comment
Know the answer?
Add Answer to:
4.9 [10/20/20/15/15] Consider the following code, which multiplies two vec- tors that contain sin...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT