- Threads; Computing the value of . The following http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code24.c program computes the value of the number by a given number of threads;
- Analyze the code for the possible synchronization issues.
- Compile and execute the code by increasing the number of the threads and number of the intervals.
- Make the following procedures:
- Draw a figure as Execution Time vs Number of Threads.
- If you increase the number of threads as the multiple of 2, then take the .
- If you increase the number of threads as the multiple of 10, then take the .
- Make the Speed-Up and Efficiency analysis.
- Modify the loop work-sharing OpenMP http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code26.c program as printing out
- local sums of array C
- global sum of array C using
clause
Cem Ozdogan
2010-12-27