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.
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
Determine if the following problems exhibit task or data parallelism: •Using a separate thread to generate...
Q2. Determine if the following problems exhibit task or data parallelism: 1. Web server that listens to new connections and serves many connections simultaneously. 2. Search a huge file and count the occurrence of specific word. 3. Change the sharpness of A large image