Description
ISHAAN OHRI
18BCE0265
Aim:
Write a simple OpenMP program to demonstrate the use of pattern generation in schedule clause
* * * * * *
* * * * * *
* * * * * *
* * * * * *
* * * * * *
– Statically assign the loop iterations to threads
– Dynamically assign one iteration to each threads
Source Code:
Execution:
Source Code:
Execution:
Result:
From this experiment, I was able to understand how threads are scheduled in OpenMP.
There were two type of threads which were used in the experiment – static and dynamic.
The above experiment was conducted and all results along with the source code have been attached above in the document. The experiment was assisted by Dr Deepak. I thank sir for his assistance.
Reviews
There are no reviews yet.