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.

Respuesta :

Lanuel
  1. Data parallelism: using a separate thread to generate a thumbnail for each photo in a collection.
  2. Data parallelism: transposing a matrix in parallel.
  3. Task Parallelism: a networked application where one thread reads from the network and another writes to the network.
  4. Data parallelism: the fork-join array summation application described in Section 4.5.2.
  5. Task parallelism: the Grand Central Dispatch system

What is parallelism?

In Computer technology, parallelism can be defined as a situation in which the execution of two (2) or more different tasks starts at the same time. Thus, it simply means that the two (2) tasks or threads are executed simultaneously and as such making computation faster.

The types of parallelism.

Generally, there are two (2) main types of parallelism that is used in computer programming and these are:

  • Data parallelism
  • Task parallelism

Read more on parallelism here: https://brainly.com/question/20723333