Computer Architecture and Organisation
(MACSE517 )
Assessment-1
Instructions:
1. All the program has to be in a single file.
2. The file should contain the question, code and the screenshot of the output
3. Submit the pdf before the deadline
I. Write an OpenMP Program
a) To print “Hello World” in multiple threads.
b) To find number of threads running currently
c) To find maximum number of threads.
d) To find the thread id.
e) To find the number of processor core in system
f) To set number of thread to be executed
g) To test if a parallel function is running
h) To parallelize a simple for loop.