Question

Determine if the following problems exhibit task or data parallelism: •Using a separate thread to generate...

Determine if the following problems exhibit task or data parallelism:

•Using a separate thread to generate a thumbnail for each photo in a collection

•Transposing a matrix in parallel

•A networked application where one thread reads from the network and another

writes to the network

•The fork-join array summation application described in Section 4.5.2

•The Grand Central Dispatch system.

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

Task parallelism is the simultaneous execution on multiple cores of many different functions across the same or different datasets. Data parallelism (aka SIMD) is the simultaneous execution on multiple cores of the same function across the elements of a dataset.

1. task

2.task

3.data

4.data

5.task

Add a comment
Know the answer?
Add Answer to:
Determine if the following problems exhibit task or data parallelism: •Using a separate thread to generate...
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