SKR 3308 Lab Assignment 2

Exercise 1

Lab Assignment 2

SKR 3308 Sem II 2022/23

Create a program that have T[100000] array size and initialize the array with random numbers. Find the smallest number from the array. Use Data Partitioning technique to distribute the load and reduce the execution time. Remember to find the smallest number for all numbers, so you must gather all smallest numbers from other processors to get the final smallest numbers.
Analyse and explain your time reduction results for processor 1, 2, 4 and 8.

What you have to submit:
1. Print screen all the above activities with your username and use word (docx) for performance analysis and code.

Lab Assingment 2 Sem 22-23